#include <CandidateBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
CandidateBenchmarkAnalyzer (const edm::ParameterSet ¶meterSet) | |
void | endJob () |
Public Member Functions inherited from BenchmarkAnalyzer | |
BenchmarkAnalyzer () | |
BenchmarkAnalyzer (const edm::ParameterSet &) | |
virtual | ~BenchmarkAnalyzer () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from CandidateBenchmark | |
CandidateBenchmark (Mode mode) | |
template<class C > | |
void | fill (const C &candidates) |
void | fillOne (const reco::Candidate &candidate) |
fill histograms with a given particle More... | |
void | setup () |
book histograms More... | |
void | setup (const edm::ParameterSet ¶meterSet) |
book histograms More... | |
virtual | ~CandidateBenchmark () |
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 () |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Types inherited from Benchmark | |
enum | Mode { DEFAULT, DQMOFFLINE, VALIDATION } |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Static Public Attributes inherited from Benchmark | |
static DQMStore * | DQM_ = 0 |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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... | |
Protected Attributes inherited from BenchmarkAnalyzer | |
std::string | benchmarkLabel_ |
benchmark label More... | |
edm::InputTag | inputLabel_ |
input collection More... | |
std::string | outputFile_ |
name of the output root file More... | |
Protected Attributes inherited from CandidateBenchmark | |
TH1F * | charge_ |
TH1F * | eta_ |
bool | histogramBooked_ |
TH1F * | pdgId_ |
COLIN add this histo. More... | |
TH1F * | phi_ |
TH1F * | pt_ |
Protected Attributes inherited from Benchmark | |
TDirectory * | dir_ |
float | etaMax_ |
float | etaMin_ |
Mode | mode_ |
float | phiMax_ |
float | phiMin_ |
float | ptMax_ |
float | ptMin_ |
Definition at line 11 of file CandidateBenchmarkAnalyzer.h.
CandidateBenchmarkAnalyzer::CandidateBenchmarkAnalyzer | ( | const edm::ParameterSet & | parameterSet | ) |
Definition at line 18 of file CandidateBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), and Benchmark::setRange().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 41 of file CandidateBenchmarkAnalyzer.cc.
References runEdmFileComparison::collection, CandidateBenchmark::fill(), edm::Event::getByLabel(), and BenchmarkAnalyzer::inputLabel_.
|
virtual |
Implements BenchmarkAnalyzer.
Definition at line 33 of file CandidateBenchmarkAnalyzer.cc.
References BenchmarkAnalyzer::beginJob(), and CandidateBenchmark::setup().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file CandidateBenchmarkAnalyzer.cc.