#include <PFCandidateBenchmark.h>
Public Member Functions | |
void | fill (const reco::PFCandidateCollection &pfCands) |
void | fillOne (const reco::PFCandidate &pfCand) |
fill histograms with a given particle More... | |
PFCandidateBenchmark (Mode mode) | |
void | setup (DQMStore::IBooker &b) |
book histograms More... | |
~PFCandidateBenchmark () override | |
Public Member Functions inherited from Benchmark | |
Benchmark (Mode mode=DEFAULT) | |
bool | isInRange (float pt, float eta, float phi) const |
virtual void | setDirectory (TDirectory *dir) |
void | setParameters (Mode mode) |
void | setRange (float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax) |
void | write () |
virtual | ~Benchmark ()(false) |
Protected Attributes | |
TH1F * | ecalEnergy_ |
TH1F * | elementsInBlocksSize_ |
TH1F * | hcalEnergy_ |
TH1F * | mva_e_pi_ |
TH1F * | particleId_ |
Protected Attributes inherited from Benchmark | |
TDirectory * | dir_ |
float | etaMax_ |
float | etaMin_ |
Mode | mode_ |
float | phiMax_ |
float | phiMin_ |
float | ptMax_ |
float | ptMin_ |
Additional Inherited Members | |
Public Types inherited from Benchmark | |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Protected Member Functions inherited from Benchmark | |
TH1F * | book1D (DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax) |
book a 1D histogram, either through IBooker or plain root More... | |
TH2F * | book2D (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either through IBooker or plain root More... | |
TH2F * | book2D (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float *xbins, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either through IBooker or plain root More... | |
TProfile * | bookProfile (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float xmin, float xmax, float ymin, float ymax, const char *option) |
book a TProfile, either through IBooker or plain root More... | |
TProfile * | bookProfile (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float *xbins, float ymin, float ymax, const char *option) |
book a TProfile, either through IBooker or plain root More... | |
To plot specific PFCandidate quantities the name of the histograms corresponds to the name of the PFCandidate accessors.
Definition at line 11 of file PFCandidateBenchmark.h.
|
inline |
Definition at line 13 of file PFCandidateBenchmark.h.
References b, fill(), fillOne(), setup(), and ~PFCandidateBenchmark().
|
override |
void PFCandidateBenchmark::fill | ( | const reco::PFCandidateCollection & | pfCands | ) |
Definition at line 39 of file PFCandidateBenchmark.cc.
References mps_fire::i.
Referenced by PFCandidateBenchmarkAnalyzer::analyze(), and PFCandidateBenchmark().
void PFCandidateBenchmark::fillOne | ( | const reco::PFCandidate & | pfCand | ) |
fill histograms with a given particle
Definition at line 45 of file PFCandidateBenchmark.cc.
References reco::PFCandidate::ecalEnergy(), reco::PFCandidate::elementsInBlocks(), reco::LeafCandidate::eta(), reco::PFCandidate::hcalEnergy(), reco::PFCandidate::mva_e_pi(), reco::PFCandidate::particleId(), reco::LeafCandidate::phi(), and reco::LeafCandidate::pt().
Referenced by PFCandidateManager::fill(), and PFCandidateBenchmark().
void PFCandidateBenchmark::setup | ( | DQMStore::IBooker & | b | ) |
book histograms
Definition at line 14 of file PFCandidateBenchmark.cc.
References Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, and Benchmark::PhaseSpace::n.
Referenced by PFCandidateBenchmarkAnalyzer::bookHistograms(), and PFCandidateBenchmark().
|
protected |
Definition at line 26 of file PFCandidateBenchmark.h.
|
protected |
Definition at line 29 of file PFCandidateBenchmark.h.
|
protected |
Definition at line 27 of file PFCandidateBenchmark.h.
|
protected |
Definition at line 28 of file PFCandidateBenchmark.h.
|
protected |
Definition at line 25 of file PFCandidateBenchmark.h.