CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PtGun_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.01),
6  MinPt = cms.double(1.99),
7  PartID = cms.vint32(13),
8  MaxEta = cms.double(0.9),
9  MaxPhi = cms.double(3.14159265359),
10  MinEta = cms.double(2.4),
11  MinPhi = cms.double(-3.14159265359) ## in radians
12 
13  ),
14  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
15  AddAntiParticle = cms.bool(False),
16  firstRun = cms.untracked.uint32(1)
17 )