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