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=
"/pcdisk/pcgeneve01/wbell/castor_stage/atlasgroupdisk/proj-bembk/talanov/tcth.4l1.b1_lowb.coll_hor_b1"
23BeamHaloGenerator.interfacePlane = 23000.0
24BeamHaloGenerator.flipProbability = 0.0
25BeamHaloGenerator.randomStream =
"BeamHalo"
26BeamHaloGenerator.doMonitoringPlots =
True
35BeamHaloGenerator.generatorSettings = [
44 "zLimits -4000. 4000.",
51topSequence += BeamHaloGenerator
52print BeamHaloGenerator
55theApp.HistogramPersistency =
"ROOT"
57if not hasattr(ServiceMgr,
'THistSvc'):
58 from GaudiSvc.GaudiSvcConf
import THistSvc
59 ServiceMgr += THistSvc()
61ServiceMgr.THistSvc.Output += [
"BeamHalo DATAFILE='BeamHalo.root' OPT='RECREATE'"]
64from TruthExamples.TruthExamplesConf
import DumpMC
67from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
68Stream1 = AthenaPoolOutputStream(
"StreamEVGEN" )
69Stream1.OutputFile =
"evgen.pool.root"
70Stream1.ItemList += [
'EventInfo#*',
'McEventCollection#*' ]
A GenModule algorithm to produce beam halo HepMC records from input ASCII files produced with MARS or...