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