Checks what a re-reco changes in PFCandidates. More...
#include <PFCandidateChecker.h>
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 |
Definition at line 71 of file PFCandidateChecker.cc.
References gather_cfg::cout, spr::deltaEta, MuonCkfTrajectoryBuilder_cfi::deltaPhi, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::EventID::event(), edm::Event::getByLabel(), mps_fire::i, edm::EventBase::id(), LogDebug, reco::LeafCandidate::phi(), and edm::EventID::run().
|
virtual |
Definition at line 66 of file PFCandidateChecker.cc.
|
inlinestaticprivate |
Definition at line 78 of file PFCandidateChecker.h.
References DEFINE_FWK_MODULE, and reco::LeafCandidate::pt().
|
private |
Definition at line 214 of file PFCandidateChecker.cc.
References MessageLogger_cfi::cerr, reco::PFCandidate::elementsInBlocks(), mps_fire::i, and edm::Ref< C, T, F >::isNull().
|
private |
Definition at line 177 of file PFCandidateChecker.cc.
References gather_cfg::cout, spr::deltaEta, MuonCkfTrajectoryBuilder_cfi::deltaPhi, reco::LeafCandidate::et(), reco::LeafCandidate::eta(), mps_fire::i, and reco::LeafCandidate::phi().
|
private |
Definition at line 154 of file PFCandidateChecker.cc.
References gather_cfg::cout, mps_fire::i, RazorAnalyzer::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.