CMS 3D CMS Logo

genfragment_ptgun_cfg.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 generator = cms.EDProducer("FlatRandomPtGunProducer",
5  PGunParameters = cms.PSet(
6  PartID = cms.vint32(15),
7  MinPhi = cms.double(-3.14159265359),
8  MaxPhi = cms.double(3.14159265359),
9  MinEta = cms.double(-2.0),
10  MaxEta = cms.double(2.0),
11  MinPt = cms.double(1.), # in GeV
12  MaxPt = cms.double(20.0)
13  ),
14  Verbosity = cms.untracked.int32(0),
15  AddAntiParticle = cms.bool(True),
16  )