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(15),
00009 MinPhi = cms.double(0.0),
00010 MaxPhi = cms.double(360.0),
00011 MinEta = cms.double(-1.0),
00012 MaxEta = cms.double(1.0),
00013 MinPt = cms.double(200.0),
00014 MaxPt = cms.double(500.0001),
00015 AddAntiParticle = cms.bool(False)
00016 ),
00017 pythiaVerbosity = cms.untracked.bool(False),
00018 PythiaParameters = cms.PSet(
00019 pythiaUESettingsBlock,
00020 pythiaTauJets = cms.vstring(
00021 'MDME(89,1)=0 ! no tau->electron',
00022 'MDME(90,1)=0 ! no tau->muon'
00023 ),
00024
00025 parameterSets = cms.vstring(
00026 'pythiaUESettings',
00027 'pythiaTauJets'
00028 )
00029 )
00030 )
00031
00032 ProductionFilterSequence = cms.Sequence(Generator)
00033
00034