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 pythiaVerbosity = cms.untracked.bool(False),
00008 PGunParameters = cms.PSet(
00009 ParticleID = cms.vint32(1),
00010 AddAntiParticle = cms.bool(True),
00011 MinPt = cms.double(20.0),
00012 MaxPt = cms.double(700.0),
00013
00014
00015 MinEta = cms.double(-1.0),
00016 MaxEta = cms.double(1.0),
00017 MinPhi = cms.double(-3.1415926535897931),
00018 MaxPhi = cms.double(3.1415926535897931)
00019 ),
00020 PythiaParameters = cms.PSet(
00021 pythiaUESettingsBlock,
00022
00023 pythiaJets = cms.vstring(),
00024
00025 parameterSets = cms.vstring(
00026 'pythiaUESettings',
00027 'pythiaJets'
00028 )
00029 )
00030 )
00031
00032 ProductionFilterSequence = cms.Sequence(Generator)