ATLAS Offline Software
Loading...
Searching...
No Matches
hijing.flow.minbias.EbE.py
Go to the documentation of this file.
13import AthenaCommon.AtlasUnixGeneratorJob
14from PartPropSvc.PartPropSvcConf import PartPropSvc
15svcMgr += PartPropSvc()
16
17#--------------------------------------------------------------
18# Private Application Configuration options
19#--------------------------------------------------------------
20from AthenaCommon.AlgSequence import AlgSequence
21job=AlgSequence()
22from Hijing_i.Hijing_iConf import Hijing
23job += Hijing()
24
25from FlowAfterburner.FlowAfterburnerConf import AddFlowByShifting
26job += AddFlowByShifting()
27
28theApp.Dlls += [ "Hijing_i", "FlowAfterburner" ]
29theApp.TopAlg = [ "Hijing" ]
30theApp.TopAlg += [ "AddFlowByShifting" ]
31
32#--------------------------------------------------------------
33# Algorithms Private Options
34#--------------------------------------------------------------
35
36Hijing = job.Hijing
37Hijing.McEventKey = "HIJING_EVENT"
38Hijing.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
47AddFlowByShifting = job.AddFlowByShifting
48AddFlowByShifting.McTruthKey = "HIJING_EVENT"
49AddFlowByShifting.McFlowKey = "GEN_EVENT"
50
51#"jjia_minbias_new", "jjia_minbias_new_v2only", "fixed_vn", "fixed_v2", "jjia_minbias_old", "ao_test", "custom"
52AddFlowByShifting.FlowFunctionName="jjia_minbias_new"
53AddFlowByShifting.FlowImplementation="exact" # "approximate" , "exact"
54AddFlowByShifting.FlowFluctuations =True # True, False
55
56AddFlowByShifting.RandomizePhi = 0
57
58AddFlowByShifting.FlowEtaSwitch = 0
59AddFlowByShifting.FlowMinEtaCut = 0
60AddFlowByShifting.FlowMaxEtaCut = 6.5
61
62AddFlowByShifting.FlowPtSwitch = 0
63AddFlowByShifting.FlowMinPtCut = 0
64AddFlowByShifting.FlowMaxPtCut = 2.0
65
66AddFlowByShifting.custom_v1=0.0000;
67AddFlowByShifting.custom_v2=0.0500;
68AddFlowByShifting.custom_v3=0.0280;
69AddFlowByShifting.custom_v4=0.0130;
70AddFlowByShifting.custom_v5=0.0045;
71AddFlowByShifting.custom_v6=0.0015;
72AddFlowByShifting.FlowBSwitch = 0
73
74
75
76
77# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
78svcMgr.MessageSvc.OutputLevel = 3
79svcMgr.MessageSvc.defaultLimit = 10000
80#--------------------------------------------------------------
81# Event related parameters
82#--------------------------------------------------------------
83# Number of events to be processed (default is 10)
84theApp.EvtMax = 10
85
86# Set run number (default 0 causes problems)
87svcMgr.EventSelector.RunNumber = 1001
88
89#--------------------------------------------------------------
90# AthenaRoot Persistency
91#--------------------------------------------------------------
92include( 'GeneratorObjectsAthenaPool/GeneratorObjectsAthenaPool_joboptions.py' )
93from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
94Stream1 = AthenaPoolOutputStream( "Stream1" )
95# 2101 == EventInfo
96# 133273 == MC Truth (HepMC)
97# 54790518 == HijigEventParams
98Stream1.ItemList += [ "2101#*" ]
99Stream1.ItemList += [ "133273#*" ]
100Stream1.ItemList += [ "54790518#*" ]
101Stream1.OutputFile = "hijing.flow.10-15.EbE.pool.root"
102
103#==============================================================
104#
105# End of job options file
106#
107