CMS 3D CMS Logo

SingleElectronFlatPt1To100_pythia8_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 generator = cms.EDFilter("Pythia8PtGun",
3  PGunParameters = cms.PSet(
4  MaxPt = cms.double(100.),
5  MinPt = cms.double(1.),
6  ParticleID = cms.vint32(11),
7  AddAntiParticle = cms.bool(True),
8  MaxEta = cms.double(2.5),
9  MaxPhi = cms.double(3.14159265359),
10  MinEta = cms.double(-2.5),
11  MinPhi = cms.double(-3.14159265359) ## in radians
12  ),
13  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
14  psethack = cms.string('single electron pt 5 to 100'),
15  firstRun = cms.untracked.uint32(1),
16  PythiaParameters = cms.PSet(parameterSets = cms.vstring())
17  )
18