Main Page
Namespaces
Classes
Package Documentation
DQMOffline
PFTau
interface
METBenchmark.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_Benchmark_METBenchmark_h
2
#define RecoParticleFlow_Benchmark_METBenchmark_h
3
4
#include "
DQMOffline/PFTau/interface/Benchmark.h
"
5
6
#include "
DataFormats/METReco/interface/METFwd.h
"
7
8
#include "
DQMServices/Core/interface/DQMStore.h
"
9
11
class
METBenchmark
:
public
Benchmark
{
12
13
public
:
14
15
METBenchmark
(
Mode
mode
) :
Benchmark
(mode) {}
16
~METBenchmark
()
override
;
17
19
void
setup
(
DQMStore::IBooker
&
b
);
20
22
template
<
class
C>
23
void
fill
(
const
C
&
candidates
);
24
26
void
fillOne
(
const
reco::MET
& candidate);
27
28
protected
:
29
30
TH1F*
pt_
;
31
TH1F*
pt2_
;
32
TH1F*
px_
;
33
TH1F*
py_
;
34
TH1F*
phi_
;
35
TH1F*
sumEt_
;
36
TH1F*
sumEt2_
;
37
TH1F*
etOverSumEt_
;
38
TH2F*
mex_VS_sumEt_
;
39
40
};
41
42
template
<
class
C>
43
void
METBenchmark::fill
(
const
C
& candCollection) {
44
45
for
(
unsigned
int
i
= 0;
i
< candCollection.size(); ++
i
) {
46
const
reco::MET
&
cand
= candCollection[
i
];
47
fillOne
(cand);
48
}
49
}
50
51
#endif
METBenchmark::sumEt_
TH1F * sumEt_
Definition:
METBenchmark.h:35
METBenchmark::etOverSumEt_
TH1F * etOverSumEt_
Definition:
METBenchmark.h:37
mps_fire.i
i
Definition:
mps_fire.py:269
METBenchmark::pt_
TH1F * pt_
Definition:
METBenchmark.h:30
Benchmark
abstract base class
Definition:
Benchmark.h:22
METBenchmark::fill
void fill(const C &candidates)
fill a collection
Definition:
METBenchmark.h:43
METBenchmark::pt2_
TH1F * pt2_
Definition:
METBenchmark.h:31
METFwd.h
objects.IsoTrackAnalyzer.candidates
candidates
Definition:
IsoTrackAnalyzer.py:319
METBenchmark
To plot MET quantities.
Definition:
METBenchmark.h:11
METBenchmark::METBenchmark
METBenchmark(Mode mode)
Definition:
METBenchmark.h:15
METBenchmark::setup
void setup(DQMStore::IBooker &b)
book histograms
Definition:
METBenchmark.cc:23
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
METBenchmark::px_
TH1F * px_
Definition:
METBenchmark.h:32
Benchmark.h
reco::MET
Definition:
MET.h:42
DQMStore.h
patCaloMETCorrections_cff.C
C
Definition:
patCaloMETCorrections_cff.py:45
Benchmark::Mode
Mode
Definition:
Benchmark.h:35
METBenchmark::py_
TH1F * py_
Definition:
METBenchmark.h:33
METBenchmark::fillOne
void fillOne(const reco::MET &candidate)
fill histograms with a given particle
Definition:
METBenchmark.cc:64
b
double b
Definition:
hdecay.h:120
METBenchmark::sumEt2_
TH1F * sumEt2_
Definition:
METBenchmark.h:36
METBenchmark::mex_VS_sumEt_
TH2F * mex_VS_sumEt_
Definition:
METBenchmark.h:38
METBenchmark::phi_
TH1F * phi_
Definition:
METBenchmark.h:34
cand
Definition:
decayParser.h:34
DQMStore::IBooker
Definition:
DQMStore.h:90
METBenchmark::~METBenchmark
~METBenchmark() override
Definition:
METBenchmark.cc:20
Generated for CMSSW Reference Manual by
1.8.11