To plot Candidate quantities. More...
#include <MatchCandidateBenchmark.h>
Public Member Functions | |
void | fillOne (const reco::Candidate &candidate, const reco::Candidate &matchedCandidate) |
fill histograms with a given particle More... | |
MatchCandidateBenchmark (Mode mode) | |
void | setup () |
book histograms More... | |
void | setup (const edm::ParameterSet ¶meterSet) |
book histograms More... | |
virtual | ~MatchCandidateBenchmark () |
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 () |
write to the TFile, in plain ROOT mode. No need to call this function in DQM mode More... | |
virtual | ~Benchmark () |
Protected Attributes | |
TH2F * | delta_et_Over_et_VS_et_ |
TH2F * | delta_et_VS_et_ |
TH2F * | delta_eta_VS_et_ |
TH2F * | delta_phi_VS_et_ |
bool | histogramBooked_ |
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 } |
Static Public Attributes inherited from Benchmark | |
static DQMStore * | DQM_ = 0 |
Protected Member Functions inherited from Benchmark | |
TH1F * | book1D (const char *histname, const char *title, int nbins, float xmin, float xmax) |
book a 1D histogram, either with DQM or plain root. More... | |
TH2F * | book2D (const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either with DQM or plain root. More... | |
TH2F * | book2D (const char *histname, const char *title, int nbinsx, float *xbins, int nbinsy, float ymin, float ymax) |
book a 2D histogram, either with DQM or plain root. More... | |
To plot Candidate quantities.
Definition at line 13 of file MatchCandidateBenchmark.h.
MatchCandidateBenchmark::MatchCandidateBenchmark | ( | Mode | mode | ) |
Definition at line 17 of file MatchCandidateBenchmark.cc.
References delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, and histogramBooked_.
|
virtual |
Definition at line 26 of file MatchCandidateBenchmark.cc.
void MatchCandidateBenchmark::fillOne | ( | const reco::Candidate & | candidate, |
const reco::Candidate & | matchedCandidate | ||
) |
fill histograms with a given particle
Definition at line 133 of file MatchCandidateBenchmark.cc.
References delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, reco::Candidate::eta(), histogramBooked_, Benchmark::isInRange(), reco::Candidate::phi(), and reco::Candidate::pt().
Referenced by PFCandidateMonitor::fill(), PFJetMonitor::fill(), PFCandidateManager::fill(), and PFMETMonitor::fillOne().
void MatchCandidateBenchmark::setup | ( | void | ) |
book histograms
Definition at line 29 of file MatchCandidateBenchmark.cc.
References Benchmark::book2D(), delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, Benchmark::DQMOFFLINE, histogramBooked_, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, Benchmark::mode_, Benchmark::PhaseSpace::n, jptDQMConfig_cff::ptBins, and Benchmark::VALIDATION.
Referenced by PFMETMonitor::setup(), PFCandidateMonitor::setup(), and PFJetMonitor::setup().
void MatchCandidateBenchmark::setup | ( | const edm::ParameterSet & | parameterSet | ) |
book histograms
Definition at line 78 of file MatchCandidateBenchmark.cc.
References Benchmark::book2D(), delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, edm::ParameterSet::getParameter(), histogramBooked_, i, and jptDQMConfig_cff::ptBins.
|
protected |
Definition at line 33 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 34 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 35 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 36 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 38 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().