Validation
RecoParticleFlow
plugins
GenericBenchmarkAnalyzer.h
Go to the documentation of this file.
1
#ifndef GENERICBENCHMARKANALYZER_H
2
#define GENERICBENCHMARKANALYZER_H
3
4
// author: Mike Schmitt (The University of Florida)
5
// date: 11/7/2007
6
// extension: Leo Neuhaus & Joanna Weng 09.2008
7
8
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
11
#include "
FWCore/Utilities/interface/EDGetToken.h
"
12
#include "
FWCore/Utilities/interface/InputTag.h
"
13
#include "
RecoParticleFlow/Benchmark/interface/GenericBenchmark.h
"
14
15
#include <map>
16
17
class
GenericBenchmarkAnalyzer
:
public
edm::EDAnalyzer
,
public
GenericBenchmark
{
18
public
:
19
explicit
GenericBenchmarkAnalyzer
(
const
edm::ParameterSet
&);
20
~GenericBenchmarkAnalyzer
()
override
;
21
22
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
void
beginJob
()
override
;
24
void
endJob
()
override
;
25
26
private
:
27
// Inputs from Configuration File
28
std::string
outputFile_
;
29
edm::EDGetTokenT<edm::View<reco::Candidate>
>
myTruth_
;
30
edm::EDGetTokenT<edm::View<reco::Candidate>
>
myReco_
;
31
edm::InputTag
inputTruthLabel_
;
32
edm::InputTag
inputRecoLabel_
;
33
std::string
benchmarkLabel_
;
34
bool
startFromGen_
;
35
bool
plotAgainstRecoQuantities_
;
36
bool
onlyTwoJets_
;
37
double
recPt_cut
;
38
double
minEta_cut
;
39
double
maxEta_cut
;
40
double
deltaR_cut
;
41
float
minDeltaEt_
;
42
float
maxDeltaEt_
;
43
float
minDeltaPhi_
;
44
float
maxDeltaPhi_
;
45
bool
doMetPlots_
;
46
};
47
48
#endif // GENERICBENCHMARKANALYZER_H
GenericBenchmarkAnalyzer::minEta_cut
double minEta_cut
Definition:
GenericBenchmarkAnalyzer.h:38
GenericBenchmarkAnalyzer::endJob
void endJob() override
Definition:
GenericBenchmarkAnalyzer.cc:144
edm::EDGetTokenT
Definition:
EDGetToken.h:33
GenericBenchmark
Definition:
GenericBenchmark.h:21
GenericBenchmarkAnalyzer::maxDeltaEt_
float maxDeltaEt_
Definition:
GenericBenchmarkAnalyzer.h:42
GenericBenchmarkAnalyzer::startFromGen_
bool startFromGen_
Definition:
GenericBenchmarkAnalyzer.h:34
EDAnalyzer.h
GenericBenchmarkAnalyzer::recPt_cut
double recPt_cut
Definition:
GenericBenchmarkAnalyzer.h:37
GenericBenchmarkAnalyzer::maxDeltaPhi_
float maxDeltaPhi_
Definition:
GenericBenchmarkAnalyzer.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
GenericBenchmarkAnalyzer::benchmarkLabel_
std::string benchmarkLabel_
Definition:
GenericBenchmarkAnalyzer.h:33
GenericBenchmarkAnalyzer::myReco_
edm::EDGetTokenT< edm::View< reco::Candidate > > myReco_
Definition:
GenericBenchmarkAnalyzer.h:30
GenericBenchmarkAnalyzer::inputTruthLabel_
edm::InputTag inputTruthLabel_
Definition:
GenericBenchmarkAnalyzer.h:31
GenericBenchmarkAnalyzer::minDeltaPhi_
float minDeltaPhi_
Definition:
GenericBenchmarkAnalyzer.h:43
EDGetToken.h
GenericBenchmarkAnalyzer::maxEta_cut
double maxEta_cut
Definition:
GenericBenchmarkAnalyzer.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
GenericBenchmarkAnalyzer::GenericBenchmarkAnalyzer
GenericBenchmarkAnalyzer(const edm::ParameterSet &)
Definition:
GenericBenchmarkAnalyzer.cc:37
GenericBenchmarkAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
GenericBenchmarkAnalyzer.cc:84
GenericBenchmarkAnalyzer::deltaR_cut
double deltaR_cut
Definition:
GenericBenchmarkAnalyzer.h:40
GenericBenchmarkAnalyzer::outputFile_
std::string outputFile_
Definition:
GenericBenchmarkAnalyzer.h:28
GenericBenchmarkAnalyzer::doMetPlots_
bool doMetPlots_
Definition:
GenericBenchmarkAnalyzer.h:45
edm::EventSetup
Definition:
EventSetup.h:58
GenericBenchmarkAnalyzer::onlyTwoJets_
bool onlyTwoJets_
Definition:
GenericBenchmarkAnalyzer.h:36
InputTag.h
GenericBenchmarkAnalyzer::myTruth_
edm::EDGetTokenT< edm::View< reco::Candidate > > myTruth_
Definition:
GenericBenchmarkAnalyzer.h:29
Frameworkfwd.h
GenericBenchmarkAnalyzer
Definition:
GenericBenchmarkAnalyzer.h:17
GenericBenchmarkAnalyzer::inputRecoLabel_
edm::InputTag inputRecoLabel_
Definition:
GenericBenchmarkAnalyzer.h:32
GenericBenchmarkAnalyzer::beginJob
void beginJob() override
Definition:
GenericBenchmarkAnalyzer.cc:67
GenericBenchmark.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
GenericBenchmarkAnalyzer::minDeltaEt_
float minDeltaEt_
Definition:
GenericBenchmarkAnalyzer.h:41
GenericBenchmarkAnalyzer::plotAgainstRecoQuantities_
bool plotAgainstRecoQuantities_
Definition:
GenericBenchmarkAnalyzer.h:35
GenericBenchmarkAnalyzer::~GenericBenchmarkAnalyzer
~GenericBenchmarkAnalyzer() override
Definition:
GenericBenchmarkAnalyzer.cc:65
Generated for CMSSW Reference Manual by
1.8.16