CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
source_particleGun_cfi.py
Go to the documentation of this file.
2 
3 source = cms.Source("EmptySource")
4 
6 generator = cms.EDProducer("Pythia6PtGun",
7  PGunParameters = cms.PSet(
8  ParticleID = cms.vint32(11),
9  MinPhi = cms.double(0.0),
10  MaxPhi = cms.double(360.0),
11  MinEta = cms.double(-3.0),
12  MaxEta = cms.double(3.0),
13  MinPt = cms.double(0.0),
14  MaxPt = cms.double(100.0001),
15  AddAntiParticle = cms.bool(False)
16  ),
17  pythiaVerbosity = cms.untracked.bool(False),
18  PythiaParameters = cms.PSet(
19  pythiaUESettingsBlock,
20  # This is a vector of ParameterSet names to be read, in this order
21  parameterSets = cms.vstring('pythiaUESettings')
22  )
23 )
24 
25 ProductionFilterSequence = cms.Sequence(generator)