ATLAS Offline Software
Loading...
Searching...
No Matches
mc.Sample Class Reference
Inheritance diagram for mc.Sample:
Collaboration diagram for mc.Sample:

Public Member Functions

 setupFlags (self, flags)
 setupProcess (self, flags)
 setupFlags (self, flags)
 setupProcess (self, flags)

Public Attributes

str description = "Inelastic minimum bias, with the A2 MSTW2008LO tune and EvtGen"
list keywords = ["QCD", "minBias", "SM"]
list contact = ["spyros.argyropoulos@cern.ch"]
int nEventsPerJob = 1000

Detailed Description

Definition at line 5 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

Member Function Documentation

◆ setupFlags() [1/2]

mc.Sample.setupFlags ( self,
flags )

Definition at line 7 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

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.nEventsPerJob = 1000
12

◆ setupFlags() [2/2]

mc.Sample.setupFlags ( self,
flags )

Definition at line 9 of file mc.PG_single_nu_valid.py.

9 def setupFlags(self, flags):
10 self.description = "Single neutrinos with fixed eta and E: purely for pile-up/lumi testing"
11 self.keywords = ["singleParticle", "neutrino"]
12 self.contact = ["dhirsch@mail.cern.ch"]
13 self.nEventsPerJob = 100
14

◆ setupProcess() [1/2]

mc.Sample.setupProcess ( self,
flags )

Definition at line 13 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

13 def setupProcess(self, flags):
14 # Pythia8 process
15 p8_process = ["SoftQCD:inelastic = on"]
16
17 # Pythia with EvtGen
18 from Pythia8_i.Pythia8Config import Pythia8_A2_MSTW2008LO_EvtGen_Common_Cfg
19 sampleConfig = Pythia8_A2_MSTW2008LO_EvtGen_Common_Cfg(flags, Commands=p8_process)
20
21 return sampleConfig

◆ setupProcess() [2/2]

mc.Sample.setupProcess ( self,
flags )

Definition at line 15 of file mc.PG_single_nu_valid.py.

15 def setupProcess(self, flags):
16 # TODO: update once we have a proper PG fragment
17 sampleConfig = ComponentAccumulator(EvgenSequenceFactory(EvgenSequence.Generator))
18
19 from ParticleGun.ParticleGunConfig import ParticleGun_SteeredSingleParticleCfg
20 pg = ParticleGun_SteeredSingleParticleCfg(
21 flags,
22 pid=12,
23 samplerType="EEtaMPhi",
24 energy=50000,
25 eta=0,
26 )
27
28 sampleConfig.merge(pg)
29
30 return sampleConfig

Member Data Documentation

◆ contact

list mc.Sample.contact = ["spyros.argyropoulos@cern.ch"]

Definition at line 10 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

◆ description

str mc.Sample.description = "Inelastic minimum bias, with the A2 MSTW2008LO tune and EvtGen"

Definition at line 8 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

◆ keywords

list mc.Sample.keywords = ["QCD", "minBias", "SM"]

Definition at line 9 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.

◆ nEventsPerJob

int mc.Sample.nEventsPerJob = 1000

Definition at line 11 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.


The documentation for this class was generated from the following files: