7 import AthenaCommon.AtlasUnixGeneratorJob
9 from AthenaCommon.AppMgr
import theApp
10 from AthenaCommon.AppMgr
import ServiceMgr
16 from PartPropSvc.PartPropSvcConf
import PartPropSvc
17 ServiceMgr += PartPropSvc()
21 from RngComps.RngCompsConf
import AtRanluxGenSvc
23 ServiceMgr.AtRanluxGenSvc.Seeds = [
"SINGLE 2040160768 443921183"]
29 ServiceMgr.MessageSvc.OutputLevel = VERBOSE
35 theApp.EvtMax = 100000
40 from AthenaCommon.AlgSequence
import AlgSequence
44 from ParticleGenerator.ParticleGeneratorConf
import ParticleGenerator
45 job += ParticleGenerator()
49 job.ParticleGenerator.OutputLevel = DEBUG
52 job.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"
72 from ParticleDecayer.ParticleDecayerConf
import ParticleDecayer
73 job += ParticleDecayer()
74 job.ParticleDecayer.OutputLevel = DEBUG
75 job.ParticleDecayer.McEventCollection =
"GEN_EVENT"
82 job.ParticleDecayer.LJType = 2
83 job.ParticleDecayer.ScalarMass = 5000
84 job.ParticleDecayer.ScalarPDGID = 700021
85 job.ParticleDecayer.ParticleID = 999
86 job.ParticleDecayer.ParticleMass = 600
87 job.ParticleDecayer.ParticleLifeTime = 100
88 job.ParticleDecayer.ParticlePolarization = -1
89 job.ParticleDecayer.OppositePolarization =
False
90 job.ParticleDecayer.ParticlePDGID = 700022
105 job.ParticleDecayer.DecayBRElectrons = 0.30
106 job.ParticleDecayer.DecayBRMuons = 0.30
107 job.ParticleDecayer.DecayBRPions = 0.40
109 job.ParticleDecayer.DoUniformDecay =
False
110 job.ParticleDecayer.DoExponentialDecay =
True
111 job.ParticleDecayer.ExpDecayDoVariableLifetime =
True
112 job.ParticleDecayer.ExpDecayPercentageToKeep = 0.8
113 job.ParticleDecayer.ExpDecayDoTruncateLongDecays =
True
115 job.ParticleDecayer.BarrelRadius = 8.e3
116 job.ParticleDecayer.EndCapDistance = 11.e3
117 job.ParticleDecayer.ThetaEndCapBarrel = 0.628796286
122 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
124 Stream1.OutputFile =
"ParticleDecayer.EVNT.pool.root"
125 Stream1.ItemList += [
"2101#*",
"133273#*" ]