7import AthenaCommon.AtlasUnixGeneratorJob
9from AthenaCommon.AppMgr
import theApp
10from AthenaCommon.AppMgr
import ServiceMgr
16from PartPropSvc.PartPropSvcConf
import PartPropSvc
17ServiceMgr += PartPropSvc()
21from RngComps.RngCompsConf
import AtRanluxGenSvc
23ServiceMgr.AtRanluxGenSvc.Seeds = [
"SINGLE 2040160768 443921183"]
29ServiceMgr.MessageSvc.OutputLevel = VERBOSE
40from AthenaCommon.AlgSequence
import AlgSequence
44from ParticleGenerator.ParticleGeneratorConf
import ParticleGenerator
45job += ParticleGenerator()
49job.ParticleGenerator.OutputLevel = DEBUG
52job.ParticleGenerator.orders = [
53 "pdgcode[0]: constant 999",
54 "et[0]: flat 10000. 100000.",
56 "eta[0]: flat -2.5 2.5",
57 "phi[0]: flat -3.14159 3.14159"
72from ParticleDecayer.ParticleDecayerConf
import ParticleDecayer
74job.ParticleDecayer.OutputLevel = DEBUG
75job.ParticleDecayer.McEventCollection =
"GEN_EVENT"
82job.ParticleDecayer.LJType = 2
83job.ParticleDecayer.ScalarMass = 5000
84job.ParticleDecayer.ScalarPDGID = 700021
85job.ParticleDecayer.ParticleID = 999
86job.ParticleDecayer.ParticleMass = 600
87job.ParticleDecayer.ParticleLifeTime = 100
88job.ParticleDecayer.ParticlePolarization = -1
89job.ParticleDecayer.OppositePolarization =
False
90job.ParticleDecayer.ParticlePDGID = 700022
105job.ParticleDecayer.DecayBRElectrons = 0.30
106job.ParticleDecayer.DecayBRMuons = 0.30
107job.ParticleDecayer.DecayBRPions = 0.40
109job.ParticleDecayer.DoUniformDecay =
False
110job.ParticleDecayer.DoExponentialDecay =
True
111job.ParticleDecayer.ExpDecayDoVariableLifetime =
True
112job.ParticleDecayer.ExpDecayPercentageToKeep = 0.8
113job.ParticleDecayer.ExpDecayDoTruncateLongDecays =
True
115job.ParticleDecayer.BarrelRadius = 8.e3
116job.ParticleDecayer.EndCapDistance = 11.e3
117job.ParticleDecayer.ThetaEndCapBarrel = 0.628796286
122from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
123Stream1 = AthenaPoolOutputStream(
"StreamEVGEN" )
124Stream1.OutputFile =
"ParticleDecayer.EVNT.pool.root"
125Stream1.ItemList += [
"2101#*",
"133273#*" ]
The default ATLAS random number engine manager, based on Ranlux64.