DQMOffline
PFTau
interface
MatchMETBenchmark.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_Benchmark_MatchMETBenchmark_h
2
#define RecoParticleFlow_Benchmark_MatchMETBenchmark_h
3
4
#include "
DQMOffline/PFTau/interface/Benchmark.h
"
5
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
6
#include "
DataFormats/METReco/interface/METFwd.h
"
7
8
// integrate and check your benchmarks in PFRootEvent (take PFCandidateManager
9
// as an example)
10
11
// remove the old benchmarks from these 2 packages (Validation and PFRootEvent)
12
// (python files, C++ code, ...)
13
class
MatchMETBenchmark
:
public
Benchmark
{
14
public
:
15
MatchMETBenchmark
(
Mode
mode
) :
Benchmark
(
mode
) {}
16
~MatchMETBenchmark
()
override
;
17
19
void
setup
(
DQMStore::IBooker
&
b
);
20
22
void
fillOne
(
const
reco::MET
&candidate,
const
reco::MET
&matchedCandidate);
23
24
protected
:
25
// next 3: add to MatchCandidateBenchmark?
26
27
TH2F *
delta_et_VS_et_
;
28
TH2F *
delta_et_Over_et_VS_et_
;
29
30
TH2F *
delta_phi_VS_et_
;
31
32
TH1F *
delta_ex_
;
33
34
// True and Rec: remove. remove the following histo?
35
TH2F *
RecEt_VS_TrueEt_
;
36
TH2F *
delta_set_VS_set_
;
37
TH2F *
delta_set_Over_set_VS_set_
;
38
TH2F *
delta_ex_VS_set_
;
39
40
// remove the following histo?
41
TH2F *
RecSet_Over_TrueSet_VS_TrueSet_
;
42
};
43
44
#endif
MatchMETBenchmark::fillOne
void fillOne(const reco::MET &candidate, const reco::MET &matchedCandidate)
fill histograms with a given particle
Definition:
MatchMETBenchmark.cc:106
MatchMETBenchmark::~MatchMETBenchmark
~MatchMETBenchmark() override
Definition:
MatchMETBenchmark.cc:13
Benchmark
abstract base class
Definition:
Benchmark.h:19
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
MatchMETBenchmark::RecEt_VS_TrueEt_
TH2F * RecEt_VS_TrueEt_
Definition:
MatchMETBenchmark.h:35
MatchMETBenchmark::delta_set_VS_set_
TH2F * delta_set_VS_set_
Definition:
MatchMETBenchmark.h:36
MatchMETBenchmark::delta_phi_VS_et_
TH2F * delta_phi_VS_et_
Definition:
MatchMETBenchmark.h:30
MatchMETBenchmark::setup
void setup(DQMStore::IBooker &b)
book histograms
Definition:
MatchMETBenchmark.cc:15
CandidateFwd.h
MatchMETBenchmark::MatchMETBenchmark
MatchMETBenchmark(Mode mode)
Definition:
MatchMETBenchmark.h:15
reco::MET
Definition:
MET.h:41
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition:
DQMStore.h:729
MatchMETBenchmark
Definition:
MatchMETBenchmark.h:13
b
double b
Definition:
hdecay.h:118
Benchmark.h
MatchMETBenchmark::delta_et_Over_et_VS_et_
TH2F * delta_et_Over_et_VS_et_
Definition:
MatchMETBenchmark.h:28
Benchmark::Mode
Mode
Definition:
Benchmark.h:32
MatchMETBenchmark::RecSet_Over_TrueSet_VS_TrueSet_
TH2F * RecSet_Over_TrueSet_VS_TrueSet_
Definition:
MatchMETBenchmark.h:41
METFwd.h
MatchMETBenchmark::delta_set_Over_set_VS_set_
TH2F * delta_set_Over_set_VS_set_
Definition:
MatchMETBenchmark.h:37
MatchMETBenchmark::delta_et_VS_et_
TH2F * delta_et_VS_et_
Definition:
MatchMETBenchmark.h:27
MatchMETBenchmark::delta_ex_
TH1F * delta_ex_
Definition:
MatchMETBenchmark.h:32
MatchMETBenchmark::delta_ex_VS_set_
TH2F * delta_ex_VS_set_
Definition:
MatchMETBenchmark.h:38
Generated for CMSSW Reference Manual by
1.8.16