CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/FastSimulation/Configuration/python/DiElectrons_cfi.py

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