CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SingleElectronE1000_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 generator = cms.EDProducer("FlatRandomEGunProducer",
4  PGunParameters = cms.PSet(
5  PartID = cms.vint32(11),
6  MaxEta = cms.double(2.5),
7  MaxPhi = cms.double(3.14159265359),
8  MinEta = cms.double(-2.5),
9  MinE = cms.double(999.99),
10  MinPhi = cms.double(-3.14159265359), ## in radians
11 
12  MaxE = cms.double(1000.01)
13  ),
14  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
15 
16  psethack = cms.string('single electron E 1000'),
17  AddAntiParticle = cms.bool(True),
18  firstRun = cms.untracked.uint32(1)
19 )