1include(
"EvgenProdTools/StdEvgenSetup.py")
2include(
"Epos4_i/configFile.py")
6from Epos4_i.Epos4_iConf
import Epos4
8Ep4.BeamMomentum = -runArgs.ecmEnergy/2.0
9Ep4.TargetMomentum = runArgs.ecmEnergy/2.0
11energy = float(runArgs.ecmEnergy)
12number_of_events = int(runArgs.maxEvents)
18content = build_config_content(energy, number_of_events, laproj, maproj, latarg, matarg, hydro=
True)
19with open(
"Epos4.optns",
"w")
as f:
22Ep4.InputCard =
"Epos4.optns"
This code is used to get an Epos4 Monte Carlo event.