CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SingleElectronFlatPt1To100_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 generator = cms.EDProducer("FlatRandomPtGunProducer",
4  PGunParameters = cms.PSet(
5  MaxPt = cms.double(100.),
6  MinPt = cms.double(1.),
7  PartID = cms.vint32(11),
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  ),
14  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
15 
16  psethack = cms.string('single electron pt 5 to 100'),
17  AddAntiParticle = cms.bool(True),
18  firstRun = cms.untracked.uint32(1)
19 )