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::stream::EDAnalyzer<> | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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::stream::EDAnalyzer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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::stream::EDAnalyzerBase.
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 |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 66 of file PFCandidateChecker.cc.
|
inlinestaticprivate |
Definition at line 78 of file PFCandidateChecker.h.
References reco::LeafCandidate::pt().
|
private |
Definition at line 214 of file PFCandidateChecker.cc.
References assert(), ecal_dqm_sourceclient-live_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, objects.METAnalyzer::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.