00001 import FWCore.ParameterSet.Config as cms
00002
00003 from Configuration.Generator.PythiaUESettings_cfi import *
00004 Generator = cms.EDFilter("Pythia6GeneratorFilter",
00005 pythiaHepMCVerbosity = cms.untracked.bool(False),
00006 maxEventsToPrint = cms.untracked.int32(0),
00007 pythiaPylistVerbosity = cms.untracked.int32(0),
00008 filterEfficiency = cms.untracked.double(1.0),
00009 comEnergy = cms.double(10000.0),
00010 PythiaParameters = cms.PSet(
00011 pythiaUESettingsBlock,
00012 processParameters = cms.vstring('MSEL = 11 ',
00013 'MDME( 174,1) = 0 !Z decay into d dbar',
00014 'MDME( 175,1) = 0 !Z decay into u ubar',
00015 'MDME( 176,1) = 0 !Z decay into s sbar',
00016 'MDME( 177,1) = 0 !Z decay into c cbar',
00017 'MDME( 178,1) = 0 !Z decay into b bbar',
00018 'MDME( 179,1) = 0 !Z decay into t tbar',
00019 'MDME( 182,1) = 0 !Z decay into e- e+',
00020 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar',
00021 'MDME( 184,1) = 1 !Z decay into mu- mu+',
00022 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar',
00023 'MDME( 186,1) = 0 !Z decay into tau- tau+',
00024 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar',
00025 'CKIN( 1) = 40. !(D=2. GeV)',
00026 'CKIN( 2) = -1. !(D=-1. GeV)'),
00027
00028 parameterSets = cms.vstring('pythiaUESettings',
00029 'processParameters')
00030 )
00031 )
00032
00033 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
00034 Status = cms.untracked.vint32(1, 1),
00035 MinPt = cms.untracked.vdouble(2.5, 2.5),
00036 MaxEta = cms.untracked.vdouble(2.5, 2.5),
00037 MinEta = cms.untracked.vdouble(-2.5, -2.5),
00038 ParticleCharge = cms.untracked.int32(-1),
00039 ParticleID1 = cms.untracked.vint32(13),
00040 ParticleID2 = cms.untracked.vint32(13)
00041 )
00042
00043 ProductionFilterSequence = cms.Sequence(Generator*mumugenfilter)