5import AthenaPoolCnvSvc.ReadAthenaPool
6svcMgr.EventSelector.InputCollections = [
"!TESTSAMPLE!"]
8systWeights =!SYSTWEIGHTS!
10from AthenaCommon.AlgSequence
import AlgSequence
13from Rivet_i.Rivet_iConf
import Rivet_i
16from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
17from GaudiSvc.GaudiSvcConf
import THistSvc
23 name= name.replace(
".",
"p").
replace(
" ",
"_")
24 name= name.replace(
"pyoda",
".yoda")
25 name= name.replace(
":",
"_")
28if systWeights==
None: systWeights={
'Nominal': 0}
30analyses=
"!RIVETANALYSIS!"
32for analysis
in analyses.split(
","):
33 rivet.Analyses +=[analysis]
35rivet.DoRootHistos =
False
36rivet.AnalysisPath = os.environ[
'PWD']
37rivet.CrossSection = 1.0
38rivet.SkipWeights=
False
Interface to the Rivet analysis package.
std::string replace(std::string s, const std::string &s2, const std::string &s3)