1 import FWCore.ParameterSet.Config
as cms
8 genParticlesForJets = cms.EDProducer(
"InputGenJetsParticleSelector",
9 src = cms.InputTag(
"genParticles"),
10 ignoreParticleIDs = cms.vuint32(
12 1000012, 1000014, 1000016,
13 2000012, 2000014, 2000016,
15 4000012, 4000014, 4000016,
16 9900012, 9900014, 9900016,
18 partonicFinalState = cms.bool(
False),
19 excludeResonances = cms.bool(
False),
20 excludeFromResonancePids = cms.vuint32(12, 13, 14, 16),
21 tausAsJets = cms.bool(
False)
24 genParticlesForJetsNoNu = genParticlesForJets.clone()
25 genParticlesForJetsNoNu.ignoreParticleIDs += [12,14,16]
27 genParticlesForJetsNoMuNoNu = genParticlesForJets.clone()
28 genParticlesForJetsNoMuNoNu.ignoreParticleIDs += [12,13,14,16]
30 genJetParticlesTask = cms.Task(genParticlesForJets, genParticlesForJetsNoNu)
31 genJetParticles = cms.Sequence(genJetParticlesTask)