#include <MatchMETBenchmark.h>
Public Member Functions | |
void | fillOne (const reco::MET &candidate, const reco::MET &matchedCandidate) |
fill histograms with a given particle More... | |
MatchMETBenchmark (Mode mode) | |
void | setup (DQMStore::IBooker &b) |
book histograms More... | |
~MatchMETBenchmark () 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 () |
write to the TFile, in plain ROOT mode. No need to call this function in DQM mode More... | |
virtual | ~Benchmark () noexcept(false) |
Protected Attributes | |
TH2F * | delta_et_Over_et_VS_et_ |
TH2F * | delta_et_VS_et_ |
TH1F * | delta_ex_ |
TH2F * | delta_ex_VS_set_ |
TH2F * | delta_phi_VS_et_ |
TH2F * | delta_set_Over_set_VS_set_ |
TH2F * | delta_set_VS_set_ |
TH2F * | RecEt_VS_TrueEt_ |
TH2F * | RecSet_Over_TrueSet_VS_TrueSet_ |
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 | |
typedef dqm::legacy::DQMStore | DQMStore |
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 *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... | |
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... | |
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... | |
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... | |
Definition at line 13 of file MatchMETBenchmark.h.
|
inline |
Definition at line 15 of file MatchMETBenchmark.h.
|
override |
Definition at line 13 of file MatchMETBenchmark.cc.
fill histograms with a given particle
Definition at line 106 of file MatchMETBenchmark.cc.
References reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::MET::sumEt().
Referenced by MatchMETBenchmarkAnalyzer::analyze().
void MatchMETBenchmark::setup | ( | DQMStore::IBooker & | b | ) |
book histograms
Definition at line 15 of file MatchMETBenchmark.cc.
References b, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, and Benchmark::PhaseSpace::n.
Referenced by MatchMETBenchmarkAnalyzer::bookHistograms().
|
protected |
Definition at line 28 of file MatchMETBenchmark.h.
|
protected |
Definition at line 27 of file MatchMETBenchmark.h.
|
protected |
Definition at line 32 of file MatchMETBenchmark.h.
|
protected |
Definition at line 38 of file MatchMETBenchmark.h.
|
protected |
Definition at line 30 of file MatchMETBenchmark.h.
|
protected |
Definition at line 37 of file MatchMETBenchmark.h.
|
protected |
Definition at line 36 of file MatchMETBenchmark.h.
|
protected |
Definition at line 35 of file MatchMETBenchmark.h.
|
protected |
Definition at line 41 of file MatchMETBenchmark.h.