Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009 genParticlesForJets = cms.EDProducer("InputGenJetsParticleSelector",
00010 src = cms.InputTag("genParticles"),
00011 ignoreParticleIDs = cms.vuint32(
00012 1000022,
00013 1000012, 1000014, 1000016,
00014 2000012, 2000014, 2000016,
00015 1000039, 5100039,
00016 4000012, 4000014, 4000016,
00017 9900012, 9900014, 9900016,
00018 39),
00019 partonicFinalState = cms.bool(False),
00020 excludeResonances = cms.bool(True),
00021 excludeFromResonancePids = cms.vuint32(12, 13, 14, 16),
00022 tausAsJets = cms.bool(False)
00023 )
00024
00025 genJetParticles = cms.Sequence(genParticlesForJets)
00026
00027 hiGenParticlesForJets = genParticlesForJets.clone()
00028 hiGenParticlesForJets.src = cms.InputTag("hiGenParticles")
00029
00030 genParticlesForJetsNoNu = genParticlesForJets.clone()
00031 genParticlesForJetsNoNu.ignoreParticleIDs += cms.vuint32( 12,14,16)
00032
00033 genParticlesForJetsNoMuNoNu = genParticlesForJets.clone()
00034 genParticlesForJetsNoMuNoNu.ignoreParticleIDs += cms.vuint32( 12,13,14,16)