Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Despite the name of the generator, this generates particles whose
0004 # distribution is flat in log(Pt).
0005 generator = cms.EDProducer("FlatRandomOneOverPtGunProducer",
0006 
0007     PGunParameters = cms.PSet(
0008         # This specifies range in 1/Pt
0009         # It coresponds to Pt = 0.1 to 2000 GeV
0010         MinOneOverPt = cms.double(0.0005),
0011         MaxOneOverPt = cms.double(10.),
0012         PartID = cms.vint32(-13),
0013         MaxEta = cms.double(2.5),
0014         MaxPhi = cms.double(3.14159265359),
0015         MinEta = cms.double(-2.5),
0016         MinPhi = cms.double(-3.14159265359) ## in radians
0017 
0018     ),
0019     Verbosity = cms.untracked.int32(0), ## set to 1 (or greater)  for printouts
0020 
0021     psethack = cms.string('single mu pt 0.1to1000'),
0022     AddAntiParticle = cms.bool(True),
0023     firstRun = cms.untracked.uint32(1)
0024 )