ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
FlowAfterburner
share
CheckFlow.py
Go to the documentation of this file.
1
10
import
AthenaCommon.AtlasUnixStandardJob
11
12
import
AthenaPoolCnvSvc.ReadAthenaPool
13
svcMgr.EventSelector.InputCollections= [
"hijing.flow.10-15.pool.root"
]
14
15
from
AthenaCommon.GlobalFlags
import
globalflags
16
from
PartPropSvc.PartPropSvcConf
import
PartPropSvc
17
svcMgr += PartPropSvc()
18
19
#include( "AthenaCommon/AthenaCommonFlags.py" )
20
21
22
#------------------------------------------------------------
23
# Load main libraries
24
#------------------------------------------------------------
25
from
AthenaCommon.AlgSequence
import
AlgSequence
26
job=AlgSequence()
27
from
FlowAfterburner.FlowAfterburnerConf
import
CheckFlow
28
job +=
CheckFlow
()
29
30
theApp.Dlls += [
"GeneratorObjectsAthenaPoolPoolCnv"
]
31
#------------------------------------------------------------
32
# Number of events and OutputLevel
33
#------------------------------------------------------------
34
theApp.EvtMax = -1
35
svcMgr.MessageSvc.OutputLevel = 3
36
37
#------------------------------------------------------------
38
# Persistency services ntuples etc...
39
#------------------------------------------------------------
40
# THistService for native root in Athena
41
from
GaudiSvc.GaudiSvcConf
import
THistSvc
42
svcMgr += THistSvc()
43
svcMgr.THistSvc.Output = [
"FlowOutPut DATAFILE='CheckFlow.hist.root' OPT='RECREATE'"
]
44
45
#theApp.Dlls += [ "GaudiSvc" ]
46
#THistSvc = Algorithm( "THistSvc" )
47
#THistSvc.Output = ["FlowOutPut DATAFILE='CheckFlow.hist.root' OPT='RECREATE'"]
48
49
#CheckFlow = Algorithm( "CheckFlow" )
50
CheckFlow = job.CheckFlow
51
CheckFlow.McEventKey =
"GEN_EVENT"
52
CheckFlow.RapidityCutMax = 5.5
53
#==============================================================
54
#
55
# End of job options file
56
#
57
CheckFlow
Definition
CheckFlow.h:29
Generated on
for ATLAS Offline Software by
1.17.0