#include <METBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
METBenchmarkAnalyzer (const edm::ParameterSet ¶meterSet) | |
Public Member Functions inherited from BenchmarkAnalyzer | |
BenchmarkAnalyzer () | |
Constructors. More... | |
BenchmarkAnalyzer (const edm::ParameterSet &) | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
~BenchmarkAnalyzer () override | |
Destructor. More... | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Public Member Functions inherited from METBenchmark | |
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 ()(false) |
Public Attributes | |
edm::EDGetTokenT< edm::View< reco::MET > > | myColl_ |
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... | |
Protected Attributes inherited from BenchmarkAnalyzer | |
std::string | benchmarkLabel_ |
benchmark label More... | |
std::string | eventInfoFolder_ |
edm::InputTag | inputLabel_ |
input collection More... | |
std::string | outputFile_ |
name of the output root file More... | |
std::string | subsystemname_ |
Protected Attributes inherited from METBenchmark | |
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_ |
Definition at line 12 of file METBenchmarkAnalyzer.h.
METBenchmarkAnalyzer::METBenchmarkAnalyzer | ( | const edm::ParameterSet & | parameterSet | ) |
Definition at line 18 of file METBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), BenchmarkAnalyzer::inputLabel_, myColl_, and Benchmark::setRange().
|
override |
Definition at line 43 of file METBenchmarkAnalyzer.cc.
References universalConfigTemplate::collection, METBenchmark::fill(), edm::Event::getByToken(), and myColl_.
|
override |
Definition at line 34 of file METBenchmarkAnalyzer.cc.
References BenchmarkAnalyzer::bookHistograms(), and METBenchmark::setup().
edm::EDGetTokenT< edm::View<reco::MET> > METBenchmarkAnalyzer::myColl_ |
Definition at line 21 of file METBenchmarkAnalyzer.h.
Referenced by analyze(), and METBenchmarkAnalyzer().