ATLAS Offline Software
Loading...
Searching...
No Matches
CheckFlow.py
Go to the documentation of this file.
10import AthenaCommon.AtlasUnixStandardJob
11
12import AthenaPoolCnvSvc.ReadAthenaPool
13svcMgr.EventSelector.InputCollections= ["hijing.flow.10-15.pool.root"]
14
15from AthenaCommon.GlobalFlags import globalflags
16from PartPropSvc.PartPropSvcConf import PartPropSvc
17svcMgr += PartPropSvc()
18
19#include( "AthenaCommon/AthenaCommonFlags.py" )
20
21
22#------------------------------------------------------------
23# Load main libraries
24#------------------------------------------------------------
25from AthenaCommon.AlgSequence import AlgSequence
26job=AlgSequence()
27from FlowAfterburner.FlowAfterburnerConf import CheckFlow
28job += CheckFlow()
29
30theApp.Dlls += [ "GeneratorObjectsAthenaPoolPoolCnv" ]
31#------------------------------------------------------------
32# Number of events and OutputLevel
33#------------------------------------------------------------
34theApp.EvtMax = -1
35svcMgr.MessageSvc.OutputLevel = 3
36
37#------------------------------------------------------------
38# Persistency services ntuples etc...
39#------------------------------------------------------------
40# THistService for native root in Athena
41from GaudiSvc.GaudiSvcConf import THistSvc
42svcMgr += THistSvc()
43svcMgr.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" )
50CheckFlow = job.CheckFlow
51CheckFlow.McEventKey = "GEN_EVENT"
52CheckFlow.RapidityCutMax = 5.5
53#==============================================================
54#
55# End of job options file
56#
57