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(runArgs.maxEvents) # number of events
11list_noDecayParticles = "110" # the most basic noDecayList
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#To be fixed (TestHepMC is currently not working)
21if hasattr(fixSeq, "FixHepMC"):
22 fixSeq.remove(FixHepMC())
23
24if hasattr(testSeq, "TestHepMC"):
25 testSeq.remove(TestHepMC())
26
A "fix-up" algorithm to correct weird event records.
Definition FixHepMC.h:31
Filtering algorithm to sanity check HepMC event features.
Definition TestHepMC.h:33