CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Configuration/Generator/python/SingleMuFlatLogPt_100MeVto2TeV_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Despite the name of the generator, this generates particles whose
00004 # distribution is flat in log(Pt).
00005 generator = cms.EDProducer("FlatRandomOneOverPtGunProducer",
00006 
00007     PGunParameters = cms.PSet(
00008         # This specifies range in 1/Pt
00009         # It coresponds to Pt = 0.1 to 2000 GeV
00010         MinOneOverPt = cms.double(0.0005),
00011         MaxOneOverPt = cms.double(10.),
00012         PartID = cms.vint32(-13),
00013         MaxEta = cms.double(2.5),
00014         MaxPhi = cms.double(3.14159265359),
00015         MinEta = cms.double(-2.5),
00016         MinPhi = cms.double(-3.14159265359) ## in radians
00017 
00018     ),
00019     Verbosity = cms.untracked.int32(0), ## set to 1 (or greater)  for printouts
00020 
00021     psethack = cms.string('single mu pt 0.1to1000'),
00022     AddAntiParticle = cms.bool(True),
00023     firstRun = cms.untracked.uint32(1)
00024 )