1 import FWCore.ParameterSet.Config
as cms
5 pfCandidateJetsWithEEnoise = cms.EDProducer(
6 "BadPFCandidateJetsEEnoiseProducer",
7 jetsrc = cms.InputTag(
"slimmedJets"),
8 userawPt = cms.bool(
True),
9 ptThreshold = cms.double(50.0),
10 minEtaThreshold = cms.double(2.65),
11 maxEtaThreshold = cms.double(3.139)
18 pfcandidateClustered = cms.EDProducer(
21 cms.InputTag(
"slimmedJets"),
22 cms.InputTag(
"slimmedElectrons"),
23 cms.InputTag(
"slimmedMuons"),
24 cms.InputTag(
"slimmedTaus"),
25 cms.InputTag(
"slimmedPhotons"),
29 pfcandidateForUnclusteredUnc = cms.EDProducer(
"CandPtrProjector",
30 src = cms.InputTag(
"packedPFCandidates"),
31 veto = cms.InputTag(
"pfcandidateClustered"),
36 badUnclustered = cms.EDFilter(
"CandPtrSelector",
37 src = cms.InputTag(
"pfcandidateForUnclusteredUnc"),
38 cut = cms.string(
"abs(eta) > 2.65 && abs(eta) < 3.139")
42 superbad = cms.EDProducer(
45 cms.InputTag(
"badUnclustered"),
46 cms.InputTag(
"pfCandidateJetsWithEEnoise"))
49 cleanPFCandidates = cms.EDProducer(
51 src = cms.InputTag(
"packedPFCandidates"),
52 veto = cms.InputTag(
"superbad")
60 fullsuperbadSequence = cms.Sequence(pfCandidateJetsWithEEnoise+
61 pfcandidateClustered +
62 pfcandidateForUnclusteredUnc +