1 import FWCore.ParameterSet.Config
as cms
17 genCandidatesForMET = cms.EDProducer(
18 "InputGenJetsParticleSelector",
19 src = cms.InputTag(
"genParticles"),
20 partonicFinalState = cms.bool(
False),
21 excludeResonances = cms.bool(
False),
22 excludeFromResonancePids = cms.vuint32(),
23 tausAsJets = cms.bool(
False),
26 ignoreParticleIDs = cms.vuint32(
28 1000012, 1000014, 1000016,
29 2000012, 2000014, 2000016,
31 4000012, 4000014, 4000016,
32 9900012, 9900014, 9900016,
37 genParticlesForMETAllVisible = cms.EDProducer(
38 "InputGenJetsParticleSelector",
39 src = cms.InputTag(
"genParticles"),
40 partonicFinalState = cms.bool(
False),
41 excludeResonances = cms.bool(
False),
42 excludeFromResonancePids = cms.vuint32(),
43 tausAsJets = cms.bool(
False),
45 ignoreParticleIDs = cms.vuint32(
47 1000012, 1000014, 1000016,
48 2000012, 2000014, 2000016,
50 4000012, 4000014, 4000016,
51 9900012, 9900014, 9900016,
56 genMETParticles = cms.Sequence(genCandidatesForMET+genParticlesForMETAllVisible)