12 paramFile =
"epos_crmc.param"
14 inputFiles =
"qgsjet.dat \
24 os.system(
"mkdir tabs")
27 os.system(
"get_files %s" % inputFiles)
28 for fin
in inputFiles.split():
29 os.system(
"mv %s tabs/%s" % (fin, fin))
32 if not os.path.isfile( paramFile ):
33 print "\"", paramFile,
"\"",
" is missing!. Force exit..."
37 print "\"", paramFile,
"\"",
" found!."
40 from AthenaCommon.AppMgr
import ServiceMgr
42 from AthenaCommon.AlgSequence
import AlgSequence
48 from Epos_i.Epos_iConf
import Epos
51 epos.BeamMomentum = -3500.0
52 epos.TargetMomentum = 3500.0
53 epos.PrimaryParticle = 1
54 epos.TargetParticle = 1
56 epos.ParamFile = paramFile
58 epos.LheFile =
"epos.lhe"
63 MessageSvc = Service(
"MessageSvc" )
64 MessageSvc.OutputLevel = 3
68 evgenConfig.minevents = 100
73 from TruthExamples.TruthExamplesConf
import DumpMC
79 import AthenaPoolCnvSvc.WriteAthenaPool
80 from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
83 stream1.WritingTool =
"AthenaOutputStreamTool"
84 stream1.OutputFile =
"epos_events.pool.root"
85 stream1.TakeItemsFromInput =
True
86 stream1.ItemList += [
'EventInfo#*',
'McEventCollection#*' ]