abstract base class More...
#include <Benchmark.h>
Classes | |
class | PhaseSpace |
Public Types | |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Public Member Functions | |
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 () |
Static Public Attributes | |
static DQMStore * | DQM_ = 0 |
Protected Member Functions | |
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... | |
TProfile * | bookProfile (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. More... | |
TProfile * | bookProfile (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. More... | |
Protected Attributes | |
TDirectory * | dir_ |
float | etaMax_ |
float | etaMin_ |
Mode | mode_ |
float | phiMax_ |
float | phiMin_ |
float | ptMax_ |
float | ptMin_ |
abstract base class
Definition at line 21 of file Benchmark.h.
enum Benchmark::Mode |
Enumerator | |
---|---|
DEFAULT | |
DQMOFFLINE | |
VALIDATION |
Definition at line 34 of file Benchmark.h.
Definition at line 42 of file Benchmark.h.
|
virtual |
Definition at line 15 of file Benchmark.cc.
|
protected |
book a 1D histogram, either with DQM or plain root.
Definition at line 25 of file Benchmark.cc.
References gather_cfg::cout, sistrip::dir_, and estimatePileup::hist.
Referenced by CandidateBenchmark::setup(), MatchCandidateBenchmark::setup(), PFMETMonitor::setup(), PFCandidateMonitor::setup(), and PFJetMonitor::setup().
|
protected |
book a 2D histogram, either with DQM or plain root.
Definition at line 43 of file Benchmark.cc.
References gather_cfg::cout, sistrip::dir_, and estimatePileup::hist.
Referenced by MatchCandidateBenchmark::setup(), PFMETMonitor::setup(), and PFJetMonitor::setup().
|
protected |
book a 2D histogram, either with DQM or plain root.
Definition at line 62 of file Benchmark.cc.
References gather_cfg::cout, sistrip::dir_, estimatePileup::hist, i, and SiStripMonitorClusterAlca_cfi::ymin.
|
protected |
book a TProfile histogram, either with DQM or plain root.
Definition at line 95 of file Benchmark.cc.
References gather_cfg::cout, sistrip::dir_, and estimatePileup::hist.
Referenced by PFMETMonitor::setup().
|
protected |
book a TProfile histogram, either with DQM or plain root.
Definition at line 114 of file Benchmark.cc.
References gather_cfg::cout, sistrip::dir_, estimatePileup::hist, and i.
|
inline |
Definition at line 59 of file Benchmark.h.
References etaMin_, phiMax_, phiMin_, and ptMin_.
Referenced by PFCandidateMonitor::fill(), PFJetMonitor::fill(), PFCandidateManager::fill(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), and PFMETMonitor::fillOne().
|
virtual |
Reimplemented in PFCandidateManager, PFJetMonitor, PFCandidateMonitor, and PFMETMonitor.
Definition at line 19 of file Benchmark.cc.
References dir, and sistrip::dir_.
Referenced by PFMETMonitor::setDirectory(), PFCandidateMonitor::setDirectory(), PFJetMonitor::setDirectory(), and PFCandidateManager::setDirectory().
|
inline |
Definition at line 50 of file Benchmark.h.
References alignBH_cfg::mode, and mode_.
Referenced by PFMETMonitor::setParameters(), PFCandidateMonitor::setParameters(), and PFJetMonitor::setParameters().
|
inline |
Definition at line 52 of file Benchmark.h.
References etaMax_, etaMin_, phiMax_, phiMin_, ptMax_, PtMinSelector_cfg::ptMin, and ptMin_.
Referenced by CandidateBenchmarkAnalyzer::CandidateBenchmarkAnalyzer(), METBenchmarkAnalyzer::METBenchmarkAnalyzer(), PFCandidateBenchmarkAnalyzer::PFCandidateBenchmarkAnalyzer(), PFCandidateManagerAnalyzer::PFCandidateManagerAnalyzer(), PFCandidateMonitor::PFCandidateMonitor(), PFJetMonitor::PFJetMonitor(), PFMETMonitor::PFMETMonitor(), PFMETMonitor::setParameters(), PFCandidateMonitor::setParameters(), and PFJetMonitor::setParameters().
void Benchmark::write | ( | void | ) |
write to the TFile, in plain ROOT mode. No need to call this function in DQM mode
Definition at line 141 of file Benchmark.cc.
References sistrip::dir_.
Referenced by pkg.AbstractPkg::generate().
|
protected |
Definition at line 94 of file Benchmark.h.
|
static |
Definition at line 40 of file Benchmark.h.
Referenced by BenchmarkAnalyzer::beginJob(), PFCandidateDQMAnalyzer::beginJob(), PFJetDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), and PFCandidateDQMAnalyzer::storeBadEvents().
|
protected |
Definition at line 101 of file Benchmark.h.
Referenced by setRange().
|
protected |
Definition at line 100 of file Benchmark.h.
Referenced by isInRange(), and setRange().
|
protected |
Definition at line 96 of file Benchmark.h.
Referenced by PFMETMonitor::setParameters(), PFCandidateMonitor::setParameters(), PFJetMonitor::setParameters(), setParameters(), CandidateBenchmark::setup(), and MatchCandidateBenchmark::setup().
|
protected |
Definition at line 103 of file Benchmark.h.
Referenced by isInRange(), and setRange().
|
protected |
Definition at line 102 of file Benchmark.h.
Referenced by isInRange(), and setRange().
|
protected |
Definition at line 99 of file Benchmark.h.
Referenced by setRange().
|
protected |
Definition at line 98 of file Benchmark.h.
Referenced by isInRange(), and setRange().