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