1import AthenaCommon.AtlasUnixGeneratorJob
4from AthenaCommon.AlgSequence
import AlgSequence
5topSequence = AlgSequence()
8from AthenaCommon.AppMgr
import ServiceMgr
11from AthenaCommon.AppMgr
import theApp
17ServiceMgr.MessageSvc.OutputLevel = INFO
19from BeamHaloGenerator.BeamHaloGeneratorConf
import BeamHaloGeneratorAlg
21BeamHaloGenerator.inputType=
"FLUKA-VT"
22BeamHaloGenerator.inputFile=
"/localdisk/wbell/data/cavern-background/4vector_7TeV_R203_205_Z428_610.dat"
23BeamHaloGenerator.interfacePlane = 0.0
24BeamHaloGenerator.flipProbability = 0.0
25BeamHaloGenerator.randomStream =
"BeamHalo"
26BeamHaloGenerator.doMonitoringPlots =
True
35BeamHaloGenerator.generatorSettings = [
49topSequence += BeamHaloGenerator
50print BeamHaloGenerator
53theApp.HistogramPersistency =
"ROOT"
55if not hasattr(ServiceMgr,
'THistSvc'):
56 from GaudiSvc.GaudiSvcConf
import THistSvc
57 ServiceMgr += THistSvc()
59ServiceMgr.THistSvc.Output += [
"BeamHalo DATAFILE='BeamHalo.root' OPT='RECREATE'"]
62from TruthExamples.TruthExamplesConf
import DumpMC
65from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
66Stream1 = AthenaPoolOutputStream(
"StreamEVGEN" )
67Stream1.OutputFile =
"evgen.pool.root"
68Stream1.ItemList += [
'EventInfo#*',
'McEventCollection#*' ]
A GenModule algorithm to produce beam halo HepMC records from input ASCII files produced with MARS or...