CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SingleMuFlatLogPt_100MeVto2TeV_cfi.py
Go to the documentation of this file.
2 
3 # Despite the name of the generator, this generates particles whose
4 # distribution is flat in log(Pt).
5 generator = cms.EDProducer("FlatRandomOneOverPtGunProducer",
6 
7  PGunParameters = cms.PSet(
8  # This specifies range in 1/Pt
9  # It coresponds to Pt = 0.1 to 2000 GeV
10  MinOneOverPt = cms.double(0.0005),
11  MaxOneOverPt = cms.double(10.),
12  PartID = cms.vint32(-13),
13  MaxEta = cms.double(2.5),
14  MaxPhi = cms.double(3.14159265359),
15  MinEta = cms.double(-2.5),
16  MinPhi = cms.double(-3.14159265359) ## in radians
17 
18  ),
19  Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts
20 
21  psethack = cms.string('single mu pt 0.1to1000'),
22  AddAntiParticle = cms.bool(True),
23  firstRun = cms.untracked.uint32(1)
24 )