Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Generator.PythiaUESettings_cfi import *
0004 generator = cms.EDFilter("Pythia6GeneratorFilter",
0005     pythiaHepMCVerbosity = cms.untracked.bool(False),
0006     maxEventsToPrint = cms.untracked.int32(0),
0007     pythiaPylistVerbosity = cms.untracked.int32(0),
0008     filterEfficiency = cms.untracked.double(1.0),
0009     comEnergy = cms.double(10000.0),
0010     PythiaParameters = cms.PSet(
0011         pythiaUESettingsBlock,
0012         processParameters = cms.vstring('MSEL         = 11 ', 
0013             'MDME( 174,1) = 0    !Z decay into d dbar', 
0014             'MDME( 175,1) = 0    !Z decay into u ubar', 
0015             'MDME( 176,1) = 0    !Z decay into s sbar', 
0016             'MDME( 177,1) = 0    !Z decay into c cbar', 
0017             'MDME( 178,1) = 0    !Z decay into b bbar', 
0018             'MDME( 179,1) = 0    !Z decay into t tbar', 
0019             'MDME( 182,1) = 0    !Z decay into e- e+', 
0020             'MDME( 183,1) = 0    !Z decay into nu_e nu_ebar', 
0021             'MDME( 184,1) = 1    !Z decay into mu- mu+', 
0022             'MDME( 185,1) = 0    !Z decay into nu_mu nu_mubar', 
0023             'MDME( 186,1) = 0    !Z decay into tau- tau+', 
0024             'MDME( 187,1) = 0    !Z decay into nu_tau nu_taubar', 
0025             'CKIN( 1)     = 40.  !(D=2. GeV)', 
0026             'CKIN( 2)     = -1.  !(D=-1. GeV)'),
0027         # This is a vector of ParameterSet names to be read, in this order
0028         parameterSets = cms.vstring('pythiaUESettings', 
0029             'processParameters')
0030     )
0031 )
0032 
0033 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0034     Status = cms.untracked.vint32(1, 1),
0035     MinPt = cms.untracked.vdouble(2.5, 2.5),
0036     MaxEta = cms.untracked.vdouble(2.5, 2.5),
0037     MinEta = cms.untracked.vdouble(-2.5, -2.5),
0038     ParticleCharge = cms.untracked.int32(-1),
0039     ParticleID1 = cms.untracked.vint32(13),
0040     ParticleID2 = cms.untracked.vint32(13)
0041 )
0042 
0043 ProductionFilterSequence = cms.Sequence(generator*mumugenfilter)