Definition at line 7 of file mc.PG_single_nu_valid.py.
◆ setupFlags()
def 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"]
◆ setupProcess()
def mc.Sample.setupProcess |
( |
|
self, |
|
|
|
flags |
|
) |
| |
Definition at line 16 of file mc.PG_single_nu_valid.py.
16 def setupProcess(self, flags):
20 import ParticleGun
as PG
21 pg = PG.ParticleGun(randomStream=
"SINGLE", randomSeed=flags.Random.SeedOffset)
23 pg.sampler.mom = PG.EEtaMPhiSampler(energy=50000, eta=0)
25 sampleConfig.addEventAlgo(pg)
◆ contact
◆ description
◆ keywords
◆ nEventsPerJob
The documentation for this class was generated from the following file: