ATLAS Offline Software
Loading...
Searching...
No Matches
mc.Ep4_simple_PbPb.py
Go to the documentation of this file.
1evgenConfig.description = "Simple EPOS4 production of Pb+Pb collisions, with hydrodynamic evolution, and impact parameter b=0."
2evgenConfig.keywords = [ "Pb+Pb collisions" ]
3evgenConfig.contact = [ "andrii.verbytskyi@mpp.mpg.de", "paulina.majchrzak@cern.ch" ]
4evgenConfig.nEventsPerJob = 10000
5evgenConfig.generators += ["Epos4"]
6
7include("Epos4_i/configFile.py")
8energy = float(runArgs.ecmEnergy) # center-of-mass energy
9number_of_events = int(runArgs.maxEvents) # number of events
10laproj = 82 # projectile atomic number
11maproj = 208 # projectile mass number
12latarg = 82 # target atomic number
13matarg = 208 # target mass number
14
15content = build_config_content(energy, number_of_events, laproj, maproj, latarg, matarg, hydro=True) # creating an optns file for epos4 configuration
16with open("Epos4.optns", "w") as f:
17 f.write(content)
18
19
20include("Epos4_i/Epos4_Base_Fragment.py")
21
22if hasattr(fixSeq, "FixHepMC"):
23 fixSeq.remove(FixHepMC())
24
25if hasattr(testSeq, "TestHepMC"):
26 testSeq.remove(TestHepMC())
27
28
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