Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
13
METBenchmark
(
Mode
mode
) :
Benchmark
(mode) {}
14
~METBenchmark
()
override
;
15
17
void
setup
(
DQMStore::IBooker
&
b
);
18
20
template
<
class
C>
21
void
fill
(
const
C
&
candidates
);
22
24
void
fillOne
(
const
reco::MET
&candidate);
25
26
protected
:
27
TH1F *
pt_
;
28
TH1F *
pt2_
;
29
TH1F *
px_
;
30
TH1F *
py_
;
31
TH1F *
phi_
;
32
TH1F *
sumEt_
;
33
TH1F *
sumEt2_
;
34
TH1F *
etOverSumEt_
;
35
TH2F *
mex_VS_sumEt_
;
36
};
37
38
template
<
class
C>
39
void
METBenchmark::fill
(
const
C
&candCollection) {
40
for
(
unsigned
int
i
= 0;
i
< candCollection.size(); ++
i
) {
41
const
reco::MET
&cand = candCollection[
i
];
42
fillOne
(cand);
43
}
44
}
45
46
#endif
METBenchmark::sumEt_
TH1F * sumEt_
Definition:
METBenchmark.h:32
METBenchmark::etOverSumEt_
TH1F * etOverSumEt_
Definition:
METBenchmark.h:34
mps_fire.i
i
Definition:
mps_fire.py:428
METBenchmark::pt_
TH1F * pt_
Definition:
METBenchmark.h:27
Benchmark
abstract base class
Definition:
Benchmark.h:19
METBenchmark::fill
void fill(const C &candidates)
fill a collection
Definition:
METBenchmark.h:39
METBenchmark::pt2_
TH1F * pt2_
Definition:
METBenchmark.h:28
METFwd.h
universalConfigTemplate.mode
mode
Definition:
universalConfigTemplate.py:82
METBenchmark
To plot MET quantities.
Definition:
METBenchmark.h:11
dqm::implementation::IBooker
Definition:
DQMStore.h:43
METBenchmark::METBenchmark
METBenchmark(Mode mode)
Definition:
METBenchmark.h:13
METBenchmark::setup
void setup(DQMStore::IBooker &b)
book histograms
Definition:
METBenchmark.cc:16
METBenchmark::px_
TH1F * px_
Definition:
METBenchmark.h:29
Benchmark.h
reco::MET
Definition:
MET.h:41
DQMStore.h
Benchmark::Mode
Mode
Definition:
Benchmark.h:32
HLT_FULL_cff.candidates
tuple candidates
Definition:
HLT_FULL_cff.py:40187
METBenchmark::py_
TH1F * py_
Definition:
METBenchmark.h:30
METBenchmark::fillOne
void fillOne(const reco::MET &candidate)
fill histograms with a given particle
Definition:
METBenchmark.cc:55
b
double b
Definition:
hdecay.h:118
METBenchmark::sumEt2_
TH1F * sumEt2_
Definition:
METBenchmark.h:33
gen::C
C
Definition:
Factorize.h:133
METBenchmark::mex_VS_sumEt_
TH2F * mex_VS_sumEt_
Definition:
METBenchmark.h:35
METBenchmark::phi_
TH1F * phi_
Definition:
METBenchmark.h:31
METBenchmark::~METBenchmark
~METBenchmark() override
Definition:
METBenchmark.cc:14
Generated for CMSSW Reference Manual by
1.8.5