60 void endJob()
override;
98 plotAgainstReco = iConfig.
getParameter<
bool>(
"PlotAgainstRecoQuantities");
101 benchmarkLabel_ = iConfig.
getParameter<
string>(
"BenchmarkLabel");
107 PFJetBenchmark_.setup(
124 bool isGen =
iEvent.getByToken(sGenJetAlgo_tok_, genjets);
126 std::cout <<
"Warning : no Gen jets in input !" << std::endl;
134 std::cout <<
"Warning : no PF jets in input !" << std::endl;
138 PFJetBenchmark_.process(*pfjets, *genjets);
149 PFJetBenchmark_.write();
T getParameter(std::string const &) const
dqm::legacy::DQMStore * dbe_
edm::EDGetTokenT< reco::PFJetCollection > sJetAlgo_tok_
edm::EDGetTokenT< reco::GenJetCollection > sGenJetAlgo_tok_
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
PFJetBenchmarkAnalyzer(const edm::ParameterSet &)
PFJet Benchmark.
dqm::legacy::MonitorElement MonitorElement
PFJetBenchmark PFJetBenchmark_
dqm::legacy::DQMStore DQMStore
~PFJetBenchmarkAnalyzer() override
void analyze(const edm::Event &, const edm::EventSetup &) override