CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoParticleFlow/Configuration/python/source_particleGun_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 source = cms.Source("EmptySource")
00004 
00005 from Configuration.Generator.PythiaUESettings_cfi import *
00006 Generator = cms.EDProducer("Pythia6PtGun",
00007     PGunParameters = cms.PSet(
00008        ParticleID = cms.vint32(11),
00009        MinPhi = cms.double(0.0),
00010        MaxPhi = cms.double(360.0),
00011        MinEta = cms.double(-3.0),
00012        MaxEta = cms.double(3.0),
00013        MinPt = cms.double(0.0),
00014        MaxPt = cms.double(100.0001),
00015        AddAntiParticle = cms.bool(False)
00016     ),
00017     pythiaVerbosity = cms.untracked.bool(False),
00018     PythiaParameters = cms.PSet(
00019        pythiaUESettingsBlock,
00020     # This is a vector of ParameterSet names to be read, in this order
00021        parameterSets = cms.vstring('pythiaUESettings')
00022     )
00023 )
00024 
00025 ProductionFilterSequence = cms.Sequence(Generator)