ATLAS Offline Software
hijing.flow.minbias.EbE.py
Go to the documentation of this file.
1 
13 import AthenaCommon.AtlasUnixGeneratorJob
14 from PartPropSvc.PartPropSvcConf import PartPropSvc
15 svcMgr += PartPropSvc()
16 
17 #--------------------------------------------------------------
18 # Private Application Configuration options
19 #--------------------------------------------------------------
20 from AthenaCommon.AlgSequence import AlgSequence
22 from Hijing_i.Hijing_iConf import Hijing
23 job += Hijing()
24 
25 from FlowAfterburner.FlowAfterburnerConf import AddFlowByShifting
26 job += AddFlowByShifting()
27 
28 theApp.Dlls += [ "Hijing_i", "FlowAfterburner" ]
29 theApp.TopAlg = [ "Hijing" ]
30 theApp.TopAlg += [ "AddFlowByShifting" ]
31 
32 #--------------------------------------------------------------
33 # Algorithms Private Options
34 #--------------------------------------------------------------
35 
36 Hijing = job.Hijing
37 Hijing.McEventKey = "HIJING_EVENT"
38 Hijing.Initialize = ["efrm 5520", "frame CMS", "proj A", "targ A",
39  "iap 208", "izp 82", "iat 208", "izt 82",
40  "bmin 4.9316", "bmax 6.0374", "ihpr2 4 0", # turn off quenching
41  "ihpr2 18 1", "hipr1 7 5.36", # turn on b production
42  "ihpr2 12 2", "ihpr2 21 1"] # turn on (some) decays
43  # and history
44 
45 
46 
47 AddFlowByShifting = job.AddFlowByShifting
48 AddFlowByShifting.McTruthKey = "HIJING_EVENT"
49 AddFlowByShifting.McFlowKey = "GEN_EVENT"
50 
51 #"jjia_minbias_new", "jjia_minbias_new_v2only", "fixed_vn", "fixed_v2", "jjia_minbias_old", "ao_test", "custom"
52 AddFlowByShifting.FlowFunctionName="jjia_minbias_new"
53 AddFlowByShifting.FlowImplementation="exact" # "approximate" , "exact"
54 AddFlowByShifting.FlowFluctuations =True # True, False
55 
56 AddFlowByShifting.RandomizePhi = 0
57 
58 AddFlowByShifting.FlowEtaSwitch = 0
59 AddFlowByShifting.FlowMinEtaCut = 0
60 AddFlowByShifting.FlowMaxEtaCut = 6.5
61 
62 AddFlowByShifting.FlowPtSwitch = 0
63 AddFlowByShifting.FlowMinPtCut = 0
64 AddFlowByShifting.FlowMaxPtCut = 2.0
65 
66 AddFlowByShifting.custom_v1=0.0000;
67 AddFlowByShifting.custom_v2=0.0500;
68 AddFlowByShifting.custom_v3=0.0280;
69 AddFlowByShifting.custom_v4=0.0130;
70 AddFlowByShifting.custom_v5=0.0045;
71 AddFlowByShifting.custom_v6=0.0015;
72 AddFlowByShifting.FlowBSwitch = 0
73 
74 
75 
76 
77 # Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
78 svcMgr.MessageSvc.OutputLevel = 3
79 svcMgr.MessageSvc.defaultLimit = 10000
80 #--------------------------------------------------------------
81 # Event related parameters
82 #--------------------------------------------------------------
83 # Number of events to be processed (default is 10)
84 theApp.EvtMax = 10
85 
86 # Set run number (default 0 causes problems)
87 svcMgr.EventSelector.RunNumber = 1001
88 
89 #--------------------------------------------------------------
90 # AthenaRoot Persistency
91 #--------------------------------------------------------------
92 include( 'GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py' )
93 from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
94 Stream1 = AthenaPoolOutputStream( "Stream1" )
95 # 2101 == EventInfo
96 # 133273 == MC Truth (HepMC)
97 # 54790518 == HijigEventParams
98 Stream1.ItemList += [ "2101#*" ]
99 Stream1.ItemList += [ "133273#*" ]
100 Stream1.ItemList += [ "54790518#*" ]
101 Stream1.OutputFile = "hijing.flow.10-15.EbE.pool.root"
102 
103 #==============================================================
104 #
105 # End of job options file
106 #
107 
hijing.Hijing
Hijing
Definition: hijing.flow.minbias.EbE.py:36
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
hijing.AddFlowByShifting
AddFlowByShifting
Definition: hijing.flow.minbias.EbE.py:47
python.Include.include
include
Definition: Include.py:319
python.CreateOutputStreams.AthenaPoolOutputStream
def AthenaPoolOutputStream
backward compat
Definition: CreateOutputStreams.py:144