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... | |
void | fillOne (const reco::Candidate &candidate, const reco::Candidate &matchedCandidate, const edm::ParameterSet ¶meterSet) |
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 * | BRdelta_et_Over_et_VS_et_ |
LEONARDO add these histos. More... | |
std::vector< TH1F * > | BRpTRes_ |
TH2F * | delta_et_Over_et_VS_et_ |
TH2F * | delta_et_VS_et_ |
TH2F * | delta_eta_VS_et_ |
TH2F * | delta_phi_VS_et_ |
TH2F * | ERdelta_et_Over_et_VS_et_ |
std::vector< TH1F * > | ERpTRes_ |
bool | histogramBooked_ |
std::vector< TH1F * > | pTRes_ |
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... | |
TProfile * | bookProfile (const char *histname, const char *title, int nbinsx, float xmin, float xmax, float ymin, float ymax, const char *option) |
book a TProfile histogram, either with DQM or plain root. More... | |
TProfile * | bookProfile (const char *histname, const char *title, int nbinsx, float *xbins, float ymin, float ymax, const char *option) |
book a TProfile 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 18 of file MatchCandidateBenchmark.cc.
References BRdelta_et_Over_et_VS_et_, delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, ERdelta_et_Over_et_VS_et_, and histogramBooked_.
|
virtual |
Definition at line 32 of file MatchCandidateBenchmark.cc.
void MatchCandidateBenchmark::fillOne | ( | const reco::Candidate & | candidate, |
const reco::Candidate & | matchedCandidate | ||
) |
fill histograms with a given particle
Definition at line 265 of file MatchCandidateBenchmark.cc.
References BRdelta_et_Over_et_VS_et_, delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, ERdelta_et_Over_et_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::fillOne | ( | const reco::Candidate & | candidate, |
const reco::Candidate & | matchedCandidate, | ||
const edm::ParameterSet & | parameterSet | ||
) |
Definition at line 297 of file MatchCandidateBenchmark.cc.
References BRdelta_et_Over_et_VS_et_, BRpTRes_, delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, ERdelta_et_Over_et_VS_et_, ERpTRes_, reco::Candidate::eta(), edm::ParameterSet::getParameter(), histogramBooked_, i, Benchmark::isInRange(), reco::Candidate::phi(), reco::Candidate::pt(), jptDQMConfig_cff::ptBins, and pTRes_.
void MatchCandidateBenchmark::setup | ( | void | ) |
book histograms
Definition at line 35 of file MatchCandidateBenchmark.cc.
References Benchmark::book2D(), BRdelta_et_Over_et_VS_et_, BRpTRes_, delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, Benchmark::DQMOFFLINE, ERdelta_et_Over_et_VS_et_, ERpTRes_, histogramBooked_, i, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, Benchmark::mode_, Benchmark::PhaseSpace::n, jptDQMConfig_cff::ptBins, pTRes_, findQualityFiles::size, and Benchmark::VALIDATION.
Referenced by PFMETMonitor::setup(), PFCandidateMonitor::setup(), and PFJetMonitor::setup().
void MatchCandidateBenchmark::setup | ( | const edm::ParameterSet & | parameterSet | ) |
book histograms
Definition at line 125 of file MatchCandidateBenchmark.cc.
References Benchmark::book1D(), Benchmark::book2D(), BRdelta_et_Over_et_VS_et_, BRpTRes_, delta_et_Over_et_VS_et_, delta_et_VS_et_, delta_eta_VS_et_, delta_phi_VS_et_, ERdelta_et_Over_et_VS_et_, ERpTRes_, edm::ParameterSet::getParameter(), histogramBooked_, i, jptDQMConfig_cff::ptBins, and pTRes_.
|
protected |
LEONARDO add these histos.
Definition at line 42 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 45 of file MatchCandidateBenchmark.h.
|
protected |
Definition at line 37 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().
|
protected |
Definition at line 39 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 40 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 43 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 46 of file MatchCandidateBenchmark.h.
|
protected |
Definition at line 48 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 44 of file MatchCandidateBenchmark.h.