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"]
list generators = ["Pythia8"]
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.generators = ["Pythia8"]
12 self.nEventsPerJob = 1000
13

◆ 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 self.generators += ["ParticleGun"]
15

◆ setupProcess() [1/2]

mc.Sample.setupProcess ( self,
flags )

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

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

◆ setupProcess() [2/2]

mc.Sample.setupProcess ( self,
flags )

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

16 def setupProcess(self, flags):
17 # TODO: update once we have a proper PG fragment
18 sampleConfig = ComponentAccumulator(EvgenSequenceFactory(EvgenSequence.Generator))
19
20 import ParticleGun as PG
21 pg = PG.ParticleGun(randomStream="SINGLE", randomSeed=flags.Random.SeedOffset)
22 pg.sampler.pid = 12
23 pg.sampler.mom = PG.EEtaMPhiSampler(energy=50000, eta=0)
24
25 sampleConfig.addEventAlgo(pg)
26
27 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.

◆ generators

list mc.Sample.generators = ["Pythia8"]

Definition at line 11 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 12 of file mc.Py8EG_A2MSTW2008LO_minbias_inelastic.py.


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