ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
Epos4_i
share
jO_examples
mc.Ep4_simple_pp.py
Go to the documentation of this file.
1
2
evgenConfig.description =
"Simple EPOS4 production."
3
evgenConfig.keywords = [
"minbias"
]
4
evgenConfig.contact = [
"andrii.verbytskyi@mpp.mpg.de"
,
"paulina.majchrzak@cern.ch"
]
5
evgenConfig.nEventsPerJob = 10000
6
evgenConfig.generators += [
"Epos4"
]
7
8
include(
"Epos4_i/configFile.py"
)
9
energy = float(runArgs.ecmEnergy)
# center-of-mass energy
10
number_of_events = int(getattr(runArgs,
"maxEvents"
, evgenConfig.nEventsPerJob))
# number of events
11
list_noDecayParticles =
"20 2130 -2130 1330 -1330 2330 -2330 3331 -3331 2230 -2230 1130 -1130"
12
13
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
14
with
open(
"Epos4.optns"
,
"w"
)
as
f:
15
f.write(content)
16
17
18
include(
"Epos4_i/Epos4_Base_Fragment.py"
)
19
20
#Disable energy and momentum test due to internal generator problem
21
TestHepMC.EnergyImbalanceTest =
False
22
TestHepMC.MomImbalanceTest =
False
Generated on
for ATLAS Offline Software by
1.17.0