1import AthenaCommon.AtlasUnixGeneratorJob
4from AthenaCommon.AlgSequence
import AlgSequence
5topSequence = AlgSequence()
8from AthenaCommon.AppMgr
import ServiceMgr
11from AthenaCommon.AppMgr
import theApp
14theApp.EvtMax = 3000000
18ServiceMgr.MessageSvc.OutputLevel = INFO
20from BeamHaloGenerator.BeamHaloGeneratorConf
import BeamHaloGeneratorAlg
22BeamHaloGenerator.inputType=
"FLUKA-RB"
23BeamHaloGenerator.inputFile=
"/pcdisk/pcgeneve01/wbell/data/beamhalo/beamgas/beam-gas_IR1_1GeV_cutoff_D1_field"
24BeamHaloGenerator.interfacePlane = -22600.0
25BeamHaloGenerator.flipProbability = 0.0
26BeamHaloGenerator.randomStream =
"BeamHalo"
27BeamHaloGenerator.doMonitoringPlots =
True
36BeamHaloGenerator.generatorSettings = []
52topSequence += BeamHaloGenerator
53print BeamHaloGenerator
56theApp.HistogramPersistency =
"ROOT"
58if not hasattr(ServiceMgr,
'THistSvc'):
59 from GaudiSvc.GaudiSvcConf
import THistSvc
60 ServiceMgr += THistSvc()
62ServiceMgr.THistSvc.Output += [
"BeamHalo DATAFILE='BeamHalo.root' OPT='RECREATE'"]
68from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
69Stream1 = AthenaPoolOutputStream(
"StreamEVGEN" )
70Stream1.OutputFile =
"evgen.pool.root"
71Stream1.ItemList += [
'EventInfo#*',
'McEventCollection#*' ]
A GenModule algorithm to produce beam halo HepMC records from input ASCII files produced with MARS or...