Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:44

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 generator = cms.EDProducer("FlatRandomPtGunProducer",
0005                            PGunParameters = cms.PSet(
0006         PartID = cms.vint32(15),
0007         MinPhi = cms.double(-3.14159265359),
0008         MaxPhi = cms.double(3.14159265359), ## in radians
0009         MinEta = cms.double(-2.0),
0010         MaxEta = cms.double(2.0),
0011         MinPt = cms.double(1.), # in GeV
0012         MaxPt = cms.double(20.0)
0013         ),
0014                            Verbosity = cms.untracked.int32(0), ## set to 1 (or greater)  for printouts
0015                            AddAntiParticle = cms.bool(True),
0016                            )