DQMOffline
Trigger
src
EgHLTBinData.cc
Go to the documentation of this file.
1
#include "
DQMOffline/Trigger/interface/EgHLTBinData.h
"
2
3
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
4
5
void
egHLT::BinData::setup
(
const
edm::ParameterSet
& conf) {
6
energy
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"energy"
));
7
et
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"et"
));
8
etHigh
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"etHigh"
));
9
eta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"eta"
));
10
phi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"phi"
));
11
charge
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"charge"
));
12
hOverE
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"hOverE"
));
13
dPhiIn
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"dPhiIn"
));
14
dEtaIn
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"dEtaIn"
));
15
sigEtaEta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"sigEtaEta"
));
16
e2x5
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"e2x5"
));
17
e1x5
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"e1x5"
));
18
//----Morse----
19
//r9.setup(conf.getParameter<edm::ParameterSet>("r9"));
20
minr9
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"minr9"
));
21
maxr9
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"maxr9"
));
22
HLTenergy
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTenergy"
));
23
HLTeta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTeta"
));
24
HLTphi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTphi"
));
25
deltaE
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"deltaE"
));
26
//--------
27
isolEm
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolEm"
));
28
isolHad
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolHad"
));
29
isolPtTrks
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolPtTrks"
));
30
isolNrTrks
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolNrTrks"
));
31
mass
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"mass"
));
32
massHigh
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"massHigh"
));
33
eOverP
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"eOverP"
));
34
invEInvP
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"invEInvP"
));
35
etaVsPhi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"etaVsPhi"
));
36
nVertex
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"nVertex"
));
37
}
38
39
void
egHLT::BinData::Data1D::setup
(
const
edm::ParameterSet
& conf) {
40
nr
= conf.
getParameter
<
int
>(
"nr"
);
41
min
= conf.
getParameter
<
double
>(
"min"
);
42
max
= conf.
getParameter
<
double
>(
"max"
);
43
}
44
45
void
egHLT::BinData::Data2D::setup
(
const
edm::ParameterSet
& conf) {
46
nrX
= conf.
getParameter
<
int
>(
"nrX"
);
47
xMin
= conf.
getParameter
<
double
>(
"yMin"
);
48
xMax
= conf.
getParameter
<
double
>(
"yMax"
);
49
nrY
= conf.
getParameter
<
int
>(
"nrY"
);
50
yMin
= conf.
getParameter
<
double
>(
"yMin"
);
51
yMax
= conf.
getParameter
<
double
>(
"yMax"
);
52
}
min
T min(T a, T b)
Definition:
MathUtil.h:58
egHLT::BinData::e2x5
Data1D e2x5
Definition:
EgHLTBinData.h:43
egHLT::BinData::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:5
egHLT::BinData::Data2D::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:45
egHLT::BinData::isolNrTrks
Data1D isolNrTrks
Definition:
EgHLTBinData.h:58
egHLT::BinData::hOverE
Data1D hOverE
Definition:
EgHLTBinData.h:39
egHLT::BinData::e1x5
Data1D e1x5
Definition:
EgHLTBinData.h:44
egHLT::BinData::etHigh
Data1D etHigh
Definition:
EgHLTBinData.h:35
egHLT::BinData::isolHad
Data1D isolHad
Definition:
EgHLTBinData.h:56
photonAnalyzer_cfi.yMin
yMin
Definition:
photonAnalyzer_cfi.py:86
egHLT::BinData::minr9
Data1D minr9
Definition:
EgHLTBinData.h:47
egHLT::BinData::et
Data1D et
Definition:
EgHLTBinData.h:34
photonAnalyzer_cfi.xMin
xMin
Definition:
photonAnalyzer_cfi.py:82
egHLT::BinData::invEInvP
Data1D invEInvP
Definition:
EgHLTBinData.h:62
egHLT::BinData::isolEm
Data1D isolEm
Definition:
EgHLTBinData.h:55
egHLT::BinData::Data1D::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:39
egHLT::BinData::mass
Data1D mass
Definition:
EgHLTBinData.h:59
multiplicitycorr_cfi.yMax
yMax
Definition:
multiplicitycorr_cfi.py:6
egHLT::BinData::isolPtTrks
Data1D isolPtTrks
Definition:
EgHLTBinData.h:57
egHLT::BinData::phi
Data1D phi
Definition:
EgHLTBinData.h:37
egHLT::BinData::HLTeta
Data1D HLTeta
Definition:
EgHLTBinData.h:52
egHLT::BinData::HLTenergy
Data1D HLTenergy
Definition:
EgHLTBinData.h:50
egHLT::BinData::eta
Data1D eta
Definition:
EgHLTBinData.h:36
edm::ParameterSet
Definition:
ParameterSet.h:36
EgHLTOffHistBins_cfi.nr
nr
Definition:
EgHLTOffHistBins_cfi.py:4
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:169
egHLT::BinData::dPhiIn
Data1D dPhiIn
Definition:
EgHLTBinData.h:40
egHLT::BinData::sigEtaEta
Data1D sigEtaEta
Definition:
EgHLTBinData.h:42
egHLT::BinData::HLTphi
Data1D HLTphi
Definition:
EgHLTBinData.h:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EgHLTBinData.h
egHLT::BinData::energy
Data1D energy
Definition:
EgHLTBinData.h:33
egHLT::BinData::eOverP
Data1D eOverP
Definition:
EgHLTBinData.h:61
EgHLTOffHistBins_cfi.nrX
nrX
Definition:
EgHLTOffHistBins_cfi.py:39
egHLT::BinData::nVertex
Data1D nVertex
Definition:
EgHLTBinData.h:49
egHLT::BinData::maxr9
Data1D maxr9
Definition:
EgHLTBinData.h:48
egHLT::BinData::etaVsPhi
Data2D etaVsPhi
Definition:
EgHLTBinData.h:64
multiplicitycorr_cfi.xMax
xMax
Definition:
multiplicitycorr_cfi.py:5
egHLT::BinData::dEtaIn
Data1D dEtaIn
Definition:
EgHLTBinData.h:41
egHLT::BinData::deltaE
Data1D deltaE
Definition:
EgHLTBinData.h:53
EgHLTOffHistBins_cfi.nrY
nrY
Definition:
EgHLTOffHistBins_cfi.py:40
ParameterSet.h
egHLT::BinData::charge
Data1D charge
Definition:
EgHLTBinData.h:38
egHLT::BinData::massHigh
Data1D massHigh
Definition:
EgHLTBinData.h:60
Generated for CMSSW Reference Manual by
1.8.16