◆ 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
16 p8_process = ["SoftQCD:inelastic = on"]
17
18
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
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
◆ contact
| list mc.Sample.contact = ["spyros.argyropoulos@cern.ch"] |
◆ description
| str mc.Sample.description = "Inelastic minimum bias, with the A2 MSTW2008LO tune and EvtGen" |
◆ generators
| list mc.Sample.generators = ["Pythia8"] |
◆ keywords
| list mc.Sample.keywords = ["QCD", "minBias", "SM"] |
◆ nEventsPerJob
| int mc.Sample.nEventsPerJob = 1000 |
The documentation for this class was generated from the following files: