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 () |
virtual | ~Benchmark ()(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 | |
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 through IBooker or plain root 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 through IBooker or plain root 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 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, either through IBooker or plain root 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... | |
To plot MET quantities.
Definition at line 11 of file METBenchmark.h.
|
inline |
Definition at line 13 of file METBenchmark.h.
References b, patCaloMETCorrections_cff::C, objects.IsoTrackAnalyzer::candidates, fill(), fillOne(), setup(), and ~METBenchmark().
|
override |
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(), and METBenchmark().
void METBenchmark::fillOne | ( | const reco::MET & | candidate | ) |
fill histograms with a given particle
Definition at line 56 of file METBenchmark.cc.
References reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::MET::sumEt().
Referenced by fill(), and METBenchmark().
void METBenchmark::setup | ( | DQMStore::IBooker & | b | ) |
book histograms
Definition at line 17 of file METBenchmark.cc.
References Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, and Benchmark::PhaseSpace::n.
Referenced by METBenchmarkAnalyzer::bookHistograms(), and METBenchmark().
|
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.