ATLAS Offline Software
CheckFlow_New.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 import glob
16 svcMgr.EventSelector.InputCollections = glob.glob('/tmp/soumya/HIJING_FLOW/*root*')
17 
18 
19 from AthenaCommon.GlobalFlags import globalflags
20 from PartPropSvc.PartPropSvcConf import PartPropSvc
21 svcMgr += PartPropSvc()
22 
23 #include( "AthenaCommon/AthenaCommonFlags.py" )
24 
25 
26 #------------------------------------------------------------
27 # Load main libraries
28 #------------------------------------------------------------
29 from AthenaCommon.AlgSequence import AlgSequence
31 from FlowAfterburner.FlowAfterburnerConf import CheckFlow_New
32 job += CheckFlow_New()
33 
34 theApp.Dlls += [ "GeneratorObjectsAthenaPoolPoolCnv" ]
35 #------------------------------------------------------------
36 # Number of events and OutputLevel
37 #------------------------------------------------------------
38 theApp.EvtMax = -1
39 svcMgr.MessageSvc.OutputLevel = 3
40 
41 #------------------------------------------------------------
42 # Persistency services ntuples etc...
43 #------------------------------------------------------------
44 # THistService for native root in Athena
45 from GaudiSvc.GaudiSvcConf import THistSvc
46 svcMgr += THistSvc()
47 svcMgr.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" )
54 CheckFlow_New = job.CheckFlow_New
55 CheckFlow_New.McEventKey = "GEN_EVENT"
56 CheckFlow_New.RapidityCutMax = 5.5
57 #==============================================================
58 #
59 # End of job options file
60 #
61 
CheckFlow_New
Definition: CheckFlow_New.h:29
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
Lb2Lll.THistSvc
THistSvc
Definition: Lb2Lll.py:216