Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # generate single nu_mu events
0004 generator = cms.EDProducer("FlatRandomPtGunProducer",
0005     PGunParameters = cms.PSet(
0006         # you can request more than 1 particle
0007         PartID = cms.vint32(14),
0008         MinEta = cms.double(-4.0),
0009         MaxEta = cms.double( 4.0),
0010         MinPhi = cms.double(-3.14159265359),
0011         MaxPhi = cms.double( 3.14159265359),
0012         MinPt  = cms.double( 9.99),
0013         MaxPt  = cms.double(10.01)
0014     ),
0015     AddAntiParticle = cms.bool(False),
0016     Verbosity       = cms.untracked.int32(0),
0017     firstRun        = cms.untracked.uint32(1)
0018 )