Checks what a re-reco changes in PFCandidates. More...
#include <PFCandidateChecker.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
PFCandidateChecker (const edm::ParameterSet &) | |
~PFCandidateChecker () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | printElementsInBlocks (const reco::PFCandidate &cand, std::ostream &out=std::cout) const |
void | printJets (const reco::PFJetCollection &pfJetsReco, const reco::PFJetCollection &pfJetsReReco) const |
void | printMet (const reco::PFCandidateCollection &pfReco, const reco::PFCandidateCollection &pfReReco) const |
Static Private Member Functions | |
static bool | greaterPt (const reco::PFCandidate &a, const reco::PFCandidate &b) |
Private Attributes | |
double | deltaEMax_ |
Cuts for comparison. More... | |
double | deltaEtaMax_ |
double | deltaPhiMax_ |
unsigned | entry_ |
Counter. More... | |
edm::InputTag | inputTagPFCandidatesReco_ |
PFCandidates in which we'll look for pile up particles. More... | |
edm::InputTag | inputTagPFCandidatesReReco_ |
edm::InputTag | inputTagPFJetsReco_ |
edm::InputTag | inputTagPFJetsReReco_ |
bool | printBlocks_ |
print the blocks associated to a given candidate ? More... | |
bool | rankByPt_ |
rank the candidates by Pt More... | |
bool | verbose_ |
verbose ? More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Checks what a re-reco changes in PFCandidates.
Definition at line 31 of file PFCandidateChecker.h.
|
explicit |
Definition at line 17 of file PFCandidateChecker.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and LogDebug.
PFCandidateChecker::~PFCandidateChecker | ( | ) |
Definition at line 61 of file PFCandidateChecker.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 71 of file PFCandidateChecker.cc.
References gather_cfg::cout, HLTFastRecoForTau_cff::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::EventID::event(), edm::Event::getByLabel(), i, edm::EventBase::id(), LogDebug, reco::LeafCandidate::phi(), edm::EventID::run(), and python.multivaluedict::sort().
|
virtual |
|
inlinestaticprivate |
Definition at line 78 of file PFCandidateChecker.h.
References reco::LeafCandidate::pt().
|
private |
Definition at line 214 of file PFCandidateChecker.cc.
References dtNoiseDBValidation_cfg::cerr, reco::PFCandidate::elementsInBlocks(), i, and edm::Ref< C, T, F >::isNull().
|
private |
Definition at line 177 of file PFCandidateChecker.cc.
References gather_cfg::cout, HLTFastRecoForTau_cff::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::LeafCandidate::et(), reco::LeafCandidate::eta(), i, and reco::LeafCandidate::phi().
|
private |
Definition at line 154 of file PFCandidateChecker.cc.
References gather_cfg::cout, i, CaloMET_cfi::met, and mathSSE::sqrt().
|
private |
Cuts for comparison.
Definition at line 62 of file PFCandidateChecker.h.
|
private |
Definition at line 63 of file PFCandidateChecker.h.
|
private |
Definition at line 64 of file PFCandidateChecker.h.
|
private |
Counter.
Definition at line 76 of file PFCandidateChecker.h.
|
private |
PFCandidates in which we'll look for pile up particles.
Definition at line 56 of file PFCandidateChecker.h.
|
private |
Definition at line 57 of file PFCandidateChecker.h.
|
private |
Definition at line 58 of file PFCandidateChecker.h.
|
private |
Definition at line 59 of file PFCandidateChecker.h.
|
private |
print the blocks associated to a given candidate ?
Definition at line 70 of file PFCandidateChecker.h.
|
private |
rank the candidates by Pt
Definition at line 73 of file PFCandidateChecker.h.
|
private |
verbose ?
Definition at line 67 of file PFCandidateChecker.h.