ATLAS Offline Software
Loading...
Searching...
No Matches
mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from EvgenJobTransforms.EvgenCAConfig import EvgenConfig
4
5class Sample(EvgenConfig):
6
7 def setupFlags(self, flags):
8 self.description = "Inelastic minimum bias, with the A2 MSTW2008LO tune and EvtGen"
9 self.keywords = ["QCD", "minBias", "SM"]
10 self.contact = ["spyros.argyropoulos@cern.ch"]
11 self.generators = ["Pythia8"]
12 self.nEventsPerJob = 1000
13
14 def setupProcess(self, flags):
15 # Pythia8 process
16 p8_process = ["SoftQCD:inelastic = on"]
17
18 # Pythia with EvtGen
19 from Pythia8_i.Pythia8Config import Pythia8_A2_MSTW2008LO_EvtGen_Common_Cfg
20 sampleConfig = Pythia8_A2_MSTW2008LO_EvtGen_Common_Cfg(flags, Commands=p8_process)
21
22 return sampleConfig