ATLAS Offline Software
Epos_Base_Fragment.py
Go to the documentation of this file.
1 
2 from Epos_i.Epos_iConf import Epos
3 genSeq += Epos("Epos")
4 evgenConfig.generators += ["Epos"]
5 
6 genSeq.Epos.BeamMomentum = -runArgs.ecmEnergy/2.0
7 genSeq.Epos.TargetMomentum = runArgs.ecmEnergy/2.0
8 genSeq.Epos.PrimaryParticle = 1
9 genSeq.Epos.TargetParticle = 1
10 genSeq.Epos.Model = 0
11 genSeq.Epos.TabCreate = 0
12 genSeq.Epos.ParamFile = "epos_crmc.param"
13 genSeq.Epos.maxCMEnergy = runArgs.ecmEnergy
14 
15 
16 import os
17 os.system("get_files %s" % genSeq.Epos.ParamFile)
18 inputFiles = "qgsjet.dat \
19  qgsjet.ncs \
20  sectnu-II-03 \
21  epos.initl \
22  epos.iniev \
23  epos.inirj \
24  epos.inics \
25  epos.inirj.lhc \
26  epos.inics.lhc"
27 if not os.path.exists("tabs"):
28  os.mkdir("tabs")
29 os.system("get_files %s" % inputFiles)
30 os.system("mv %s tabs/" % inputFiles)
31 os.system("cp tabs/epos.inirj.lhc tabs/epos.inirj.lhc.lhc")
32 os.system("cp tabs/epos.inics.lhc tabs/epos.inics.lhc.lhc")