Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 source = cms.Source("EmptySource")
0004 
0005 from Configuration.Generator.PythiaUESettings_cfi import *
0006 generator = cms.EDProducer("Pythia6PtGun",
0007     PGunParameters = cms.PSet(
0008        ParticleID = cms.vint32(15),
0009        MinPhi = cms.double(0.0),
0010        MaxPhi = cms.double(360.0),
0011        MinEta = cms.double(-1.0),
0012        MaxEta = cms.double(1.0),
0013        MinPt = cms.double(200.0),
0014        MaxPt = cms.double(500.0001),
0015        AddAntiParticle = cms.bool(False)
0016     ),
0017     pythiaVerbosity = cms.untracked.bool(False),
0018     PythiaParameters = cms.PSet(
0019         pythiaUESettingsBlock,
0020         pythiaTauJets = cms.vstring(
0021             'MDME(89,1)=0      ! no tau->electron', 
0022             'MDME(90,1)=0      ! no tau->muon'
0023         ),
0024         # This is a vector of ParameterSet names to be read, in this order
0025         parameterSets = cms.vstring(
0026             'pythiaUESettings', 
0027             'pythiaTauJets'
0028         )
0029     )
0030 )
0031 
0032 ProductionFilterSequence = cms.Sequence(generator)
0033 
0034