![]() |
![]() |
#include <RecoJets/FFTJetProducers/plugins/FFTJetPFPileupCleaner.cc>
Public Member Functions | |
FFTJetPFPileupCleaner (const edm::ParameterSet &) | |
~FFTJetPFPileupCleaner () | |
![]() | |
EDProducer () | |
virtual | ~EDProducer () |
![]() | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Protected Member Functions | |
void | beginJob () |
void | endJob () |
void | produce (edm::Event &, const edm::EventSetup &) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Private Member Functions | |
void | buildRemovalMask () |
FFTJetPFPileupCleaner () | |
FFTJetPFPileupCleaner (const FFTJetPFPileupCleaner &) | |
reco::VertexRef | findSomeVertex (const edm::Handle< reco::VertexCollection > &vertices, const reco::PFCandidate &pfcand) const |
bool | isRemovable (reco::PFCandidate::ParticleType ptype) const |
FFTJetPFPileupCleaner & | operator= (const FFTJetPFPileupCleaner &) |
void | setRemovalBit (reco::PFCandidate::ParticleType ptype, bool onOff) |
Private Attributes | |
bool | checkClosestZVertex |
double | etaMax |
double | etaMin |
edm::InputTag | PFCandidates |
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 |
double | vertexNdofCut |
edm::InputTag | Vertices |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Description: cleans up a collection of partice flow objects
Implementation: [Notes on implementation]
Definition at line 42 of file FFTJetPFPileupCleaner.cc.
|
explicit |
Definition at line 110 of file FFTJetPFPileupCleaner.cc.
References buildRemovalMask().
FFTJetPFPileupCleaner::~FFTJetPFPileupCleaner | ( | ) |
Definition at line 135 of file FFTJetPFPileupCleaner.cc.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 316 of file FFTJetPFPileupCleaner.cc.
|
private |
Definition at line 302 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().
|
protectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 322 of file FFTJetPFPileupCleaner.cc.
|
private |
Definition at line 218 of file FFTJetPFPileupCleaner.cc.
References checkClosestZVertex, getHLTprescales::index, reco::PFCandidate::trackRef(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::trackWeight(), reco::PFCandidate::vertex(), vertexNdofCut, and w().
Referenced by produce().
|
private |
Definition at line 194 of file FFTJetPFPileupCleaner.cc.
References removalMask, and edm::shift.
Referenced by produce().
|
private |
|
protectedvirtual |
Implements edm::EDProducer.
Definition at line 141 of file FFTJetPFPileupCleaner.cc.
References eta(), etaMax, findSomeVertex(), edm::Event::getByLabel(), i, edm::Ref< C, T, F >::isNull(), isRemovable(), edm::Ref< C, T, F >::key(), reco::tau::pfCandidates(), PFCandidates, edm::Event::put(), removeMainVertex, removeUnassociated, reverseRemovalDecision, reco::PFCandidate::setSourceCandidatePtr(), and Vertices.
|
private |
Definition at line 203 of file FFTJetPFPileupCleaner.cc.
References removalMask, and edm::shift.
Referenced by buildRemovalMask().
|
private |
Definition at line 72 of file FFTJetPFPileupCleaner.cc.
Referenced by findSomeVertex().
|
private |
Definition at line 101 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 100 of file FFTJetPFPileupCleaner.cc.
|
private |
Definition at line 67 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 97 of file FFTJetPFPileupCleaner.cc.
Referenced by isRemovable(), and setRemovalBit().
|
private |
Definition at line 89 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 94 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 91 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 88 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 92 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 93 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 90 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 87 of file FFTJetPFPileupCleaner.cc.
Referenced by buildRemovalMask().
|
private |
Definition at line 76 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 80 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 83 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().
|
private |
Definition at line 104 of file FFTJetPFPileupCleaner.cc.
Referenced by findSomeVertex().
|
private |
Definition at line 68 of file FFTJetPFPileupCleaner.cc.
Referenced by produce().