ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
BoostAfterburner
share
jobOptions.pA.py
Go to the documentation of this file.
1
9
include(
"AthenaPoolCnvSvc/WriteAthenaPool_jobOptions.py"
)
10
from
AthenaCommon.Configurable
import
Configurable
11
from
AthenaPoolCnvSvc.WriteAthenaPool
import
AthenaPoolOutputStream
12
13
# configuring the Athena application for a 'generator' job
14
import
AthenaCommon.AtlasUnixGeneratorJob
15
16
# make sure we are loading the ParticleProperty service
17
from
PartPropSvc.PartPropSvcConf
import
PartPropSvc
18
svcMgr += PartPropSvc()
19
#--------------------------------------------------------------
20
# Private Application Configuration options
21
#--------------------------------------------------------------
22
from
AthenaCommon.AlgSequence
import
AlgSequence
23
topAlg = AlgSequence()
24
25
from
Hijing_i.Hijing_iConf
import
Hijing
26
topAlg +=
Hijing
()
27
Hijing = topAlg.Hijing
28
Hijing.Initialize = [
"efrm 2750."
,
"frame CMS"
,
"proj P"
,
"targ A"
,
29
"iap 1"
,
"izp 1"
,
"iat 208"
,
"izt 82"
,
30
# simulation of minimum-bias events
31
"bmin 0"
,
"bmax 10"
,
32
# turns OFF jet quenching:
33
"ihpr2 4 0"
,
34
# Jan24,06 turns ON decays charm and bottom but not pi0, lambda, ...
35
"ihpr2 12 2"
,
36
# turns ON retaining of particle history - truth information:
37
"ihpr2 21 1"
,
38
# turning OFF string radiation
39
"ihpr2 1 0"
,
40
# change minimum pt for hard scatterings, default is 2 GeV
41
"hipr1 8 4"
42
]
43
44
from
BoostAfterburner.BoostAfterburnerConf
import
BoostEvent
45
topAlg+=
BoostEvent
()
46
BoostEvent=topAlg.BoostEvent
47
BoostEvent.BetaZ=0.5
48
BoostEvent.McOutputKey=
"BOOSTED_EVENT"
49
BoostEvent.OutputLevel=2
50
51
52
#if not hasattr(topAlg,'CBNT_AthenaAware'):
53
# from CBNT_Athena.CBNT_AthenaAwareCfg import CBNT_AthenaAware
54
# theCBNT_AthenaAware = CBNT_AthenaAware()
55
# CBNT_AthenaAware = topAlg.CBNT_AthenaAware
56
57
#from CBNT_Truth.CBNTAA_TruthCfg import CBNTAA_Truth
58
#theCBNTAA_Truth = CBNTAA_Truth(MaxNbParticles = 100000 ,
59
# MaxNbVertices = 10000 ,
60
# PtMin = -1. * GeV ,
61
# EtaMax= -1)
62
63
#theCBNTAA_Truth.McEventsName=BoostEvent.McOutputKey
64
#from CBNT_Truth.CBNT_TruthConf import CBNT_TruthSelector
65
#theSelector= CBNT_TruthSelector( "All" ,
66
# PtMin = -1. * GeV ,
67
# EtaMax = -7 ,
68
# OptionAll = True ,
69
# Enable = True)
70
71
#theCBNTAA_Truth +=theSelector
72
#CBNT_AthenaAware += theCBNTAA_Truth
73
#from CBNT_Truth.CBNT_TruthConf import CBNTAA_HijingEventParams
74
#CBNT_AthenaAware +=CBNTAA_HijingEventParams()
75
76
#from GaudiSvc.GaudiSvcConf import THistSvc
77
#svcMgr+=THistSvc()
78
#tHistSvc = svcMgr.THistSvc
79
#tHistSvc.Output = ["AANT DATAFILE='"+"hijing.cbnt.root"+"' OPT='UPDATE'"]
80
81
#from AnalysisTools.AnalysisToolsConf import AANTupleStream
82
#theApp.TopAlg += [ "AANTupleStream" ]
83
#AANTupleStream = Algorithm( "AANTupleStream" )
84
#AANTupleStream.ExtraRefNames = [ ]
85
#AANTupleStream.OutputName = "hijing1.cbnt.root"
86
#AANTupleStream.WriteInputDataHeader = False
87
#AANTupleStream.ExistDataHeader = False
88
89
#topAlg+=CBNT_AthenaAware
90
#topAlg+=AANTupleStream
91
92
93
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
94
svcMgr.MessageSvc.OutputLevel = 4
95
svcMgr.MessageSvc.defaultLimit = 100000
96
#--------------------------------------------------------------
97
# Event related parameters
98
#--------------------------------------------------------------
99
# Number of events to be processed (default is 10)
100
#theApp.EvtMax = 5000
101
theApp.EvtMax = 5
102
103
# Set run number (default 0 causes problems)
104
svcMgr.EventSelector.RunNumber = 12345
105
106
#--------------------------------------------------------------
107
# Algorithms Private Options
108
#--------------------------------------------------------------
BoostEvent
Definition
BoostEvent.h:11
Hijing
Definition
Hijing.h:43
Configurable
Generated on
for ATLAS Offline Software by
1.17.0