7 include(
"AthenaPoolCnvSvc/WriteAthenaPool_jobOptions.py" )
9 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
12 import AthenaCommon.AtlasUnixGeneratorJob
15 from PartPropSvc.PartPropSvcConf
import PartPropSvc
16 svcMgr += PartPropSvc()
22 from AthenaCommon.AlgSequence
import AlgSequence
25 from Starlight_i.Starlight_iConf
import Starlight_i
28 StoreGateSvc = svcMgr.StoreGateSvc
29 StoreGateSvc.Dump = TRUE
32 svcMgr.MessageSvc.OutputLevel = 3
33 svcMgr.MessageSvc.defaultLimit = 100000
42 svcMgr.EventSelector.RunNumber = 1
43 svcMgr.EventSelector.FirstEvent = 1
50 seed1 =
int(os.popen2(
"date +%s")[1].
read())
53 Starlight_i = Algorithm(
"Starlight_i" )
54 Starlight_i.McEventKey =
"GEN_EVENT"
68 Starlight_i.Initialize = [
69 "beam1Z 82",
"beam1A 208",
70 "beam2Z 82",
"beam2A 208",
71 "beamLorentzGamma 1482",
76 "nmbRapidityBins 1000",
86 "randomSeed "+
str(seed1),
89 "interferenceEnabled 0",
90 "interferenceStrength 1.",
91 "coherentProduction 1",
92 "incoherentFactor 1.",
94 "maxPtInterference 0.24",
95 "nmbPtBinsInterference 120"
101 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
104 theApp.Dlls += [
"GeneratorObjectsAthenaPoolPoolCnv" ]
105 PoolSvc = Service(
"PoolSvc" )
108 Stream1.OutputFile =
"starlight.test.pool.root"
112 Stream1.ItemList += [
"2101#*" ]
113 Stream1.ItemList += [
"133273#*" ]