test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
gun_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 source = cms.Source("EmptySource")
4 
5 generator = cms.EDProducer("FlatRandomEGunProducer",
6  PGunParameters = cms.PSet(
7  PartID = cms.vint32(11),
8  MinEta = cms.double(0.0),
9  MaxEta = cms.double(0.0),
10  MinPhi = cms.double(1.57079632679),
11  MaxPhi = cms.double(1.57079632679),
12  MinE = cms.double(10.0),
13  MaxE = cms.double(10.0)
14  ),
15  AddAntiParticle = cms.bool(False),
16  Verbosity = cms.untracked.int32(0)
17 )
18 
19 # Don't smear our vertex!
20 VtxSmeared = cms.EDProducer("GaussEvtVtxGenerator",
21  src = cms.InputTag("generator","unsmeared"),
22  MeanX = cms.double(0.0),
23  MeanY = cms.double(-2.0),
24  MeanZ = cms.double(0.0),
25  SigmaX = cms.double(0.0),
26  SigmaY = cms.double(0.0),
27  SigmaZ = cms.double(0.0),
28  TimeOffset = cms.double(0.0)
29 )
30 
31