ATLAS Offline Software
Loading...
Searching...
No Matches
part1.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#--------------------------------------------------------------
35Hijing = job.Hijing
36Hijing.McEventKey = "HIJING_EVENT"
37Hijing.Initialize = ["efrm 5520", "frame CMS", "proj A", "targ P",
38 "iap 208", "izp 82", "iat 1", "izt 1",
39 "bmin 0.0", "bmax 6.0", "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
46AddFlowByShifting = job.AddFlowByShifting
47AddFlowByShifting.McTruthKey = "HIJING_EVENT"
48AddFlowByShifting.McFlowKey = "GEN_EVENT"
49
50#"jjia_minbias_new", "jjia_minbias_new_v2only", "fixed_vn", "fixed_v2", "jjia_minbias_old", "ao_test", "custom", "p_Pb_cent_eta_indep"
51AddFlowByShifting.FlowFunctionName="p_Pb_cent_eta_indep"
52AddFlowByShifting.FlowImplementation="exact" # "approximate" , "exact"
53
54AddFlowByShifting.RandomizePhi = 0
55
56AddFlowByShifting.FlowEtaSwitch = 0
57AddFlowByShifting.FlowMinEtaCut = 0
58AddFlowByShifting.FlowMaxEtaCut = 6.5
59
60AddFlowByShifting.FlowPtSwitch = 0
61AddFlowByShifting.FlowMinPtCut = 0
62AddFlowByShifting.FlowMaxPtCut = 2.0
63
64AddFlowByShifting.custom_v1=0.0000;
65AddFlowByShifting.custom_v2=0.0500;
66AddFlowByShifting.custom_v3=0.0280;
67AddFlowByShifting.custom_v4=0.0130;
68AddFlowByShifting.custom_v5=0.0045;
69AddFlowByShifting.custom_v6=0.0015;
70AddFlowByShifting.FlowBSwitch = 0
71
72
73
74
75# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
76svcMgr.MessageSvc.OutputLevel = 3
77svcMgr.MessageSvc.defaultLimit = 10000
78#--------------------------------------------------------------
79# Event related parameters
80#--------------------------------------------------------------
81# Number of events to be processed (default is 10)
82# Set run number (default 0 causes problems)