#include <PFCandidateBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | endJob () |
PFCandidateBenchmarkAnalyzer (const edm::ParameterSet ¶meterSet) |
Definition at line 11 of file PFCandidateBenchmarkAnalyzer.h.
PFCandidateBenchmarkAnalyzer::PFCandidateBenchmarkAnalyzer | ( | const edm::ParameterSet & | parameterSet | ) |
Definition at line 23 of file PFCandidateBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), and Benchmark::setRange().
: BenchmarkAnalyzer(parameterSet), PFCandidateBenchmark( (Benchmark::Mode) parameterSet.getParameter<int>("mode") ) { setRange( parameterSet.getParameter<double>("ptMin"), parameterSet.getParameter<double>("ptMax"), parameterSet.getParameter<double>("etaMin"), parameterSet.getParameter<double>("etaMax"), parameterSet.getParameter<double>("phiMin"), parameterSet.getParameter<double>("phiMax") ); }
void PFCandidateBenchmarkAnalyzer::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 46 of file PFCandidateBenchmarkAnalyzer.cc.
References runEdmFileComparison::collection, PFCandidateBenchmark::fill(), edm::Event::getByLabel(), and BenchmarkAnalyzer::inputLabel_.
{ Handle<PFCandidateCollection> collection; iEvent.getByLabel( inputLabel_, collection); fill( *collection ); }
void PFCandidateBenchmarkAnalyzer::beginJob | ( | void | ) | [virtual] |
Implements BenchmarkAnalyzer.
Definition at line 38 of file PFCandidateBenchmarkAnalyzer.cc.
References PFCandidateBenchmark::setup().
{ BenchmarkAnalyzer::beginJob(); setup(); }
void PFCandidateBenchmarkAnalyzer::endJob | ( | void | ) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 58 of file PFCandidateBenchmarkAnalyzer.cc.
{ }