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("FlatRandomEGunProducer",
00006 PGunParameters = cms.PSet(
00007 PartID = cms.vint32(11),
00008 MinEta = cms.double(0.0),
00009 MaxEta = cms.double(0.0),
00010 MinPhi = cms.double(1.57079632679),
00011 MaxPhi = cms.double(1.57079632679),
00012 MinE = cms.double(10.0),
00013 MaxE = cms.double(10.0)
00014 ),
00015 AddAntiParticle = cms.bool(False),
00016 Verbosity = cms.untracked.int32(0)
00017 )
00018
00019
00020 VtxSmeared = cms.EDProducer("GaussEvtVtxGenerator",
00021 src = cms.InputTag("generator"),
00022 MeanX = cms.double(0.0),
00023 MeanY = cms.double(-2.0),
00024 MeanZ = cms.double(0.0),
00025 SigmaX = cms.double(0.0),
00026 SigmaY = cms.double(0.0),
00027 SigmaZ = cms.double(0.0),
00028 TimeOffset = cms.double(0.0)
00029 )
00030
00031