ATLAS Offline Software
Loading...
Searching...
No Matches
Pythia8_LHEF.py
Go to the documentation of this file.
2hasInput = hasattr(runArgs,"inputGeneratorFile")
3inputGeneratorFile = getattr(runArgs, "inputGeneratorFile", "")
4if hasInput:
5 include ('EvgenProdTools/mult_lhe_input.py')
6
7useCompressedLHE = (getattr(runArgs, "avoidExtracting", False)
8 and inputGeneratorFile.endswith(".events.gz"))
9
10assert hasattr(genSeq, "Pythia8")
11#genSeq.Pythia8.LHEFile = runArgs.inputGeneratorFile
12genSeq.Pythia8.LHEFile = "events.lhe.gz" if useCompressedLHE else "events.lhe"
13genSeq.Pythia8.CollisionEnergy = int(runArgs.ecmEnergy)