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 () |
book histograms More... | |
virtual | ~METBenchmark () |
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 | |
TH1F * | phi_ |
TH1F * | pt_ |
TH1F * | px_ |
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 } |
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... | |
To plot MET quantities.
Definition at line 9 of file METBenchmark.h.
|
inline |
Definition at line 13 of file METBenchmark.h.
|
virtual |
Definition at line 19 of file METBenchmark.cc.
void METBenchmark::fill | ( | const C & | candidates | ) |
fill a collection
Definition at line 36 of file METBenchmark.h.
Referenced by METBenchmarkAnalyzer::analyze().
void METBenchmark::fillOne | ( | const reco::MET & | candidate | ) |
fill histograms with a given particle
Definition at line 48 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().
void METBenchmark::setup | ( | void | ) |
book histograms
Definition at line 22 of file METBenchmark.cc.
References Benchmark::PhaseSpace::m, Benchmark::PhaseSpace::M, and Benchmark::PhaseSpace::n.
Referenced by METBenchmarkAnalyzer::beginJob().
|
protected |
Definition at line 30 of file METBenchmark.h.
|
protected |
Definition at line 28 of file METBenchmark.h.
|
protected |
Definition at line 29 of file METBenchmark.h.
|
protected |
Definition at line 31 of file METBenchmark.h.