#include <METBenchmarkAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
void | endJob () |
METBenchmarkAnalyzer (const edm::ParameterSet ¶meterSet) |
Definition at line 11 of file METBenchmarkAnalyzer.h.
METBenchmarkAnalyzer::METBenchmarkAnalyzer | ( | const edm::ParameterSet & | parameterSet | ) |
Definition at line 18 of file METBenchmarkAnalyzer.cc.
References edm::ParameterSet::getParameter(), and Benchmark::setRange().
: BenchmarkAnalyzer(parameterSet), METBenchmark( (Benchmark::Mode) parameterSet.getParameter<int>("mode") ) { setRange( parameterSet.getParameter<double>("ptMin"), parameterSet.getParameter<double>("ptMax"), -0.1, 0.1, // range in eta for MET. parameterSet.getParameter<double>("phiMin"), parameterSet.getParameter<double>("phiMax") ); }
void METBenchmarkAnalyzer::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 40 of file METBenchmarkAnalyzer.cc.
References runEdmFileComparison::collection, METBenchmark::fill(), edm::Event::getByLabel(), and BenchmarkAnalyzer::inputLabel_.
{ Handle< View<MET> > collection; iEvent.getByLabel( inputLabel_, collection); fill( *collection ); }
void METBenchmarkAnalyzer::beginJob | ( | void | ) | [virtual] |
Implements BenchmarkAnalyzer.
Definition at line 32 of file METBenchmarkAnalyzer.cc.
References METBenchmark::setup().
{ BenchmarkAnalyzer::beginJob(); setup(); }
void METBenchmarkAnalyzer::endJob | ( | void | ) | [virtual] |