Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 source = cms.Source("EmptySource")
0004 
0005 generator = cms.EDProducer("FlatRandomEGunProducer",
0006     PGunParameters = cms.PSet(
0007         PartID = cms.vint32(11),
0008         MinEta = cms.double(0.0),
0009         MaxEta = cms.double(0.0),
0010         MinPhi = cms.double(1.57079632679),
0011         MaxPhi = cms.double(1.57079632679),
0012         MinE   = cms.double(10.0),
0013         MaxE   = cms.double(10.0)
0014     ),
0015     AddAntiParticle = cms.bool(False),
0016     Verbosity = cms.untracked.int32(0)
0017 )
0018 
0019 # Don't smear our vertex!
0020 VtxSmeared = cms.EDProducer("GaussEvtVtxGenerator",
0021     src    = cms.InputTag("generator","unsmeared"),
0022     MeanX  = cms.double(0.0),
0023     MeanY  = cms.double(-2.0),
0024     MeanZ  = cms.double(0.0),
0025     SigmaX = cms.double(0.0),
0026     SigmaY = cms.double(0.0),
0027     SigmaZ = cms.double(0.0),
0028     TimeOffset = cms.double(0.0)
0029 )
0030 
0031