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!"
34 print(
'weight name:',i,
', output name',systName)
37 for analysis
in analyses.split(
","):
38 rivet.Analyses +=[analysis]
42 if i!=
"Nominal" : rivet.WeightName=i
43 rivet.HistoFile = systName
44 rivet.DoRootHistos =
False
46 rivet.AnalysisPath = os.environ[
'PWD']
47 rivet.CrossSection = 1.0
void print(char *figname, TCanvas *c1)
Interface to the Rivet analysis package.
std::string replace(std::string s, const std::string &s2, const std::string &s3)