#include <RecoJets/FFTJetProducers/plugins/FFTJetPFPileupCleaner.cc>
Public Member Functions | |
FFTJetPFPileupCleaner (const edm::ParameterSet &) | |
FFTJetPFPileupCleaner ()=delete | |
FFTJetPFPileupCleaner (const FFTJetPFPileupCleaner &)=delete | |
FFTJetPFPileupCleaner & | operator= (const FFTJetPFPileupCleaner &)=delete |
~FFTJetPFPileupCleaner () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Protected Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Member Functions | |
void | buildRemovalMask () |
reco::VertexRef | findSomeVertexWFakes (const edm::Handle< reco::VertexCollection > &vertices, const edm::Handle< reco::VertexCollection > &fakeVertices, const reco::PFCandidate &pfcand, bool *fromFakeSet) const |
bool | isAcceptableVtx (reco::VertexCollection::const_iterator iv) const |
bool | isRemovable (reco::PFCandidate::ParticleType ptype) const |
void | setRemovalBit (reco::PFCandidate::ParticleType ptype, bool onOff) |
Private Attributes | |
bool | checkClosestZVertex |
double | etaMax |
double | etaMin |
edm::InputTag | FakePrimaryVertices |
edm::EDGetTokenT< reco::VertexCollection > | FakePrimaryVerticesToken |
bool | keepIfPVneighbor |
edm::InputTag | PFCandidates |
edm::EDGetTokenT< reco::PFCandidateCollection > | PFCandidatesToken |
unsigned | removalMask |
bool | remove_e |
bool | remove_egamma_HF |
bool | remove_gamma |
bool | remove_h |
bool | remove_h0 |
bool | remove_h_HF |
bool | remove_mu |
bool | remove_X |
bool | removeMainVertex |
bool | removeUnassociated |
bool | reverseRemovalDecision |
bool | useFakePrimaryVertex |
double | vertexNdofCut |
double | vertexRhoCut |
double | vertexZmaxCut |
edm::InputTag | Vertices |
edm::EDGetTokenT< reco::VertexCollection > | VerticesToken |
std::vector< std::pair< double, unsigned > > | zAssoc |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: cleans up a collection of partice flow objects
Implementation: [Notes on implementation]
Definition at line 45 of file FFTJetPFPileupCleaner.cc.
|
explicit |
Definition at line 136 of file FFTJetPFPileupCleaner.cc.
References buildRemovalMask(), FakePrimaryVertices, FakePrimaryVerticesToken, PFCandidates, PFCandidatesToken, useFakePrimaryVertex, Vertices, and VerticesToken.
|
delete |
|
delete |
|
override |
Definition at line 170 of file FFTJetPFPileupCleaner.cc.
|
private |
Definition at line 435 of file FFTJetPFPileupCleaner.cc.
References reco::PFCandidate::e, reco::PFCandidate::egamma_HF, reco::PFCandidate::gamma, reco::PFCandidate::h, reco::PFCandidate::h0, reco::PFCandidate::h_HF, reco::PFCandidate::mu, remove_e, remove_egamma_HF, remove_gamma, remove_h, remove_h0, remove_h_HF, remove_mu, remove_X, setRemovalBit(), and reco::PFCandidate::X.
Referenced by FFTJetPFPileupCleaner().
|
private |
Definition at line 260 of file FFTJetPFPileupCleaner.cc.
References funct::abs(), checkClosestZVertex, PVValHelper::dz, first, isAcceptableVtx(), gpuVertexFinder::iv, keepIfPVneighbor, pfDeepBoostedJetPreprocessParams_cfi::pfcand, jetsAK4_CHS_cff::sort, mitigatedMETSequence_cff::U, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, useFakePrimaryVertex, AlignmentTracksFromVertexSelector_cfi::vertices, extraflags_cff::vtx, w(), z, and zAssoc.
Referenced by produce().
|
private |
Definition at line 172 of file FFTJetPFPileupCleaner.cc.
References funct::abs(), gpuVertexFinder::iv, vertexNdofCut, vertexRhoCut, and vertexZmaxCut.
Referenced by findSomeVertexWFakes().
|
private |
Definition at line 241 of file FFTJetPFPileupCleaner.cc.
References cms::cuda::assert(), OfflineHarvestingSequence_cosmic::ptype, removalMask, edm::shift, and mitigatedMETSequence_cff::U.
Referenced by produce().
|
delete |
|
overrideprotected |
Definition at line 178 of file FFTJetPFPileupCleaner.cc.
References PVValHelper::eta, etaMax, FakePrimaryVerticesToken, findSomeVertexWFakes(), mps_fire::i, iEvent, edm::Ref< C, T, F >::isNull(), isRemovable(), edm::HandleBase::isValid(), edm::Ref< C, T, F >::key(), eostools::move(), zmumugammaAnalyzer_cfi::pfCandidates, PFCandidatesToken, removeMainVertex, removeUnassociated, reverseRemovalDecision, useFakePrimaryVertex, AlignmentTracksFromVertexSelector_cfi::vertices, and VerticesToken.
|
private |
Definition at line 247 of file FFTJetPFPileupCleaner.cc.
References cms::cuda::assert(), gpuClustering::pixelStatus::mask, OfflineHarvestingSequence_cosmic::ptype, removalMask, edm::shift, and mitigatedMETSequence_cff::U.
Referenced by buildRemovalMask().
|
private |
Definition at line 82 of file FFTJetPFPileupCleaner.cc.
Referenced by findSomeVertexWFakes().
|
private |
Definition at line 118 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 117 of file FFTJetPFPileupCleaner.cc.
|
private |
Definition at line 70 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner().
|
private |
Definition at line 74 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner(), and produce().
|
private |
Definition at line 89 of file FFTJetPFPileupCleaner.cc.
Referenced by findSomeVertexWFakes().
|
private |
Definition at line 68 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner().
|
private |
Definition at line 72 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner(), and produce().
|
private |
Definition at line 114 of file FFTJetPFPileupCleaner.cc.
Referenced by isRemovable(), and setRemovalBit().
|
private |
Definition at line 106 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 111 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 108 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 105 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 109 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 110 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 107 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 104 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 93 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 97 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 100 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 78 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner(), findSomeVertexWFakes(), and produce().
|
private |
Definition at line 121 of file FFTJetPFPileupCleaner.cc.
Referenced by isAcceptableVtx().
|
private |
Definition at line 127 of file FFTJetPFPileupCleaner.cc.
Referenced by isAcceptableVtx().
|
private |
Definition at line 124 of file FFTJetPFPileupCleaner.cc.
Referenced by isAcceptableVtx().
|
private |
Definition at line 69 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner().
|
private |
Definition at line 73 of file FFTJetPFPileupCleaner.cc.
Referenced by FFTJetPFPileupCleaner(), and produce().
|
mutableprivate |
Definition at line 130 of file FFTJetPFPileupCleaner.cc.
Referenced by findSomeVertexWFakes().