To plot MET quantities. More...
#include <METBenchmark.h>
Public Member Functions | |
template<class C > | |
void | fill (const C &candidates) |
fill a collection More... | |
void | fillOne (const reco::MET &candidate) |
fill histograms with a given particle More... | |
METBenchmark (Mode mode) | |
void | setup (DQMStore::IBooker &b) |
book histograms More... | |
~METBenchmark () 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 | |
TH1F * | etOverSumEt_ |
TH2F * | mex_VS_sumEt_ |
TH1F * | phi_ |
TH1F * | pt2_ |
TH1F * | pt_ |
TH1F * | px_ |
TH1F * | py_ |
TH1F * | sumEt2_ |
TH1F * | sumEt_ |
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... | |
To plot MET quantities.
Definition at line 11 of file METBenchmark.h.
|
inline |
Definition at line 13 of file METBenchmark.h.
|
override |
Definition at line 14 of file METBenchmark.cc.
void METBenchmark::fill | ( | const C & | candidates | ) |
fill a collection
Definition at line 39 of file METBenchmark.h.
References fillOne(), and mps_fire::i.
Referenced by METBenchmarkAnalyzer::analyze().
void METBenchmark::fillOne | ( | const reco::MET & | candidate | ) |
fill histograms with a given particle
Definition at line 55 of file METBenchmark.cc.
Referenced by fill().
void METBenchmark::setup | ( | DQMStore::IBooker & | b | ) |
book histograms
Definition at line 16 of file METBenchmark.cc.
References b, Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, and Benchmark::PhaseSpace::n.
Referenced by METBenchmarkAnalyzer::bookHistograms().
|
protected |
Definition at line 34 of file METBenchmark.h.
|
protected |
Definition at line 35 of file METBenchmark.h.
|
protected |
Definition at line 31 of file METBenchmark.h.
|
protected |
Definition at line 28 of file METBenchmark.h.
|
protected |
Definition at line 27 of file METBenchmark.h.
|
protected |
Definition at line 29 of file METBenchmark.h.
|
protected |
Definition at line 30 of file METBenchmark.h.
|
protected |
Definition at line 33 of file METBenchmark.h.
|
protected |
Definition at line 32 of file METBenchmark.h.