ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
Epos4_i
share
common
Epos4_Base_Fragment_pp.py
Go to the documentation of this file.
1
include(
"EvgenProdTools/StdEvgenSetup.py"
)
2
include(
"Epos4_i/configFile.py"
)
3
4
theApp.EvtMax = 100
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
list_noDecayParticles =
"110"
# the most basic noDecayList
13
14
content = build_config_content(energy, number_of_events, hydro=
True
, centralityClass=0, list_of_particle_ids=list_noDecayParticles)
#creating an optns file for epos4 configuration
15
16
with
open(
"Epos4.optns"
,
"w"
)
as
f:
17
f.write(content)
18
19
Ep4.InputCard =
"Epos4.optns"
20
genSeq += Ep4
21
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