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 (DQMStore::IBooker &b) |
book histograms More... | |
void | setup (DQMStore::IBooker &b, const edm::ParameterSet ¶meterSet) |
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 ()(false) |
Protected Attributes | |
TH2F * | BRdelta_et_Over_et_VS_et_ |
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 } |
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 with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. 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 with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. 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 with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. 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 histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. 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 histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. 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 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 268 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 300 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_, mps_fire::i, Benchmark::isInRange(), reco::Candidate::phi(), reco::Candidate::pt(), and pTRes_.
void MatchCandidateBenchmark::setup | ( | DQMStore::IBooker & | b | ) |
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_, mps_fire::i, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, Benchmark::mode_, Benchmark::PhaseSpace::n, pTRes_, findQualityFiles::size, and Benchmark::VALIDATION.
Referenced by PFMETMonitor::setup(), PFCandidateMonitor::setup(), and PFJetMonitor::setup().
void MatchCandidateBenchmark::setup | ( | DQMStore::IBooker & | b, |
const edm::ParameterSet & | parameterSet | ||
) |
Definition at line 127 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_, mps_fire::i, and pTRes_.
|
protected |
Definition at line 40 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 43 of file MatchCandidateBenchmark.h.
|
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 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 41 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 44 of file MatchCandidateBenchmark.h.
|
protected |
Definition at line 46 of file MatchCandidateBenchmark.h.
Referenced by fillOne(), MatchCandidateBenchmark(), and setup().
|
protected |
Definition at line 42 of file MatchCandidateBenchmark.h.