CMS 3D CMS Logo

FlatPtMuonGun_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 source = cms.Source(
00004     "FlatRandomPtGunSource",
00005     firstRun = cms.untracked.uint32(1),
00006     PGunParameters = cms.untracked.PSet(
00007         PartID = cms.untracked.vint32(13),
00008         # you can request more than 1 particle
00009         # PartID = cms.untracked.vint32(211,11,-13),
00010         MinPt = cms.untracked.double(10.0),
00011         MaxPt = cms.untracked.double(10.0),
00012         MinEta = cms.untracked.double(-3.0),
00013         MaxEta = cms.untracked.double(3.0),
00014         MinPhi = cms.untracked.double(-3.14159265359), ## it must be in radians
00015         MaxPhi = cms.untracked.double(3.14159265359),
00016     ),
00017     AddAntiParticle = cms.untracked.bool(False), # back-to-back particles
00018     Verbosity = cms.untracked.int32(0) ## for printouts, set it to 1 (or greater)   
00019 )
00020 
00021 

Generated on Tue Jun 9 17:35:03 2009 for CMSSW by  doxygen 1.5.4