1 import AthenaCommon.AtlasUnixGeneratorJob
4 from AthenaCommon.AlgSequence
import AlgSequence
8 from AthenaCommon.AppMgr
import ServiceMgr
11 from AthenaCommon.AppMgr
import theApp
13 theApp.EvtMax = 402719
17 ServiceMgr.MessageSvc.OutputLevel = INFO
19 from BeamHaloGenerator.BeamHaloGeneratorConf
import BeamHaloGeneratorAlg
20 BeamHaloGenerator = BeamHaloGeneratorAlg()
21 BeamHaloGenerator.inputType=
"FLUKA-VT"
22 BeamHaloGenerator.inputFile=
"/pcdisk/pcgeneve01/wbell/castor_stage/atlasgroupdisk/proj-bembk/talanov/tcth.4l1.b1_lowb.coll_hor_b1"
23 BeamHaloGenerator.interfacePlane = 23000.0
24 BeamHaloGenerator.flipProbability = 0.0
25 BeamHaloGenerator.randomStream =
"BeamHalo"
26 BeamHaloGenerator.doMonitoringPlots =
True
35 BeamHaloGenerator.generatorSettings = [
44 "zLimits -4000. 4000.",
51 topSequence += BeamHaloGenerator
52 print BeamHaloGenerator
55 theApp.HistogramPersistency =
"ROOT"
57 if not hasattr(ServiceMgr,
'THistSvc'):
58 from GaudiSvc.GaudiSvcConf
import THistSvc
61 ServiceMgr.THistSvc.Output += [
"BeamHalo DATAFILE='BeamHalo.root' OPT='RECREATE'"]
64 from TruthExamples.TruthExamplesConf
import DumpMC
65 topSequence += DumpMC()
67 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
69 Stream1.OutputFile =
"evgen.pool.root"
70 Stream1.ItemList += [
'EventInfo#*',
'McEventCollection#*' ]