ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
Epos4_i
share
common
Epos4_Base_Fragment_PbPb.py
Go to the documentation of this file.
1
include(
"EvgenProdTools/StdEvgenSetup.py"
)
2
include(
"Epos4_i/configFile.py"
)
3
4
theApp.EvtMax = 5
5
6
from
Epos4_i.Epos4_iConf
import
Epos4
7
Ep4 =
Epos4
()
8
Ep4.ArgsRandomSeed = runArgs.randomSeed
9
10
energy = float(runArgs.ecmEnergy)
# center-of-mass energy
11
number_of_events = int(runArgs.maxEvents)
# number of events
12
laproj = 82
# projectile atomic number
13
maproj = 208
# projectile mass number
14
latarg = 82
# target atomic number
15
matarg = 208
# target mass number
16
17
content = build_config_content(energy, number_of_events, laproj, maproj, latarg, matarg, hydro=
True
)
# creating an optns file for epos4 configuration
18
with
open(
"Epos4.optns"
,
"w"
)
as
f:
19
f.write(content)
20
21
Ep4.InputCard =
"Epos4.optns"
22
genSeq += Ep4
23
Epos4
This code is used to get an Epos4 Monte Carlo event.
Definition
Epos4.h:19
Generated on
for ATLAS Offline Software by
1.16.1