Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
6
void
egHLT::BinData::setup
(
const
edm::ParameterSet
&
conf
)
7
{
8
energy
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"energy"
));
9
et
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"et"
));
10
etHigh
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"etHigh"
));
11
eta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"eta"
));
12
phi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"phi"
));
13
charge
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"charge"
));
14
hOverE
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"hOverE"
));
15
dPhiIn
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"dPhiIn"
));
16
dEtaIn
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"dEtaIn"
));
17
sigEtaEta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"sigEtaEta"
));
18
e2x5
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"e2x5"
));
19
e1x5
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"e1x5"
));
20
//----Morse----
21
//r9.setup(conf.getParameter<edm::ParameterSet>("r9"));
22
minr9
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"minr9"
));
23
maxr9
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"maxr9"
));
24
HLTenergy
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTenergy"
));
25
HLTeta
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTeta"
));
26
HLTphi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"HLTphi"
));
27
deltaE
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"deltaE"
));
28
//--------
29
isolEm
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolEm"
));
30
isolHad
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolHad"
));
31
isolPtTrks
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolPtTrks"
));
32
isolNrTrks
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"isolNrTrks"
));
33
mass
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"mass"
));
34
massHigh
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"massHigh"
));
35
eOverP
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"eOverP"
));
36
invEInvP
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"invEInvP"
));
37
etaVsPhi
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"etaVsPhi"
));
38
nVertex
.
setup
(conf.
getParameter
<
edm::ParameterSet
>(
"nVertex"
));
39
40
}
41
42
43
void
egHLT::BinData::Data1D::setup
(
const
edm::ParameterSet
&
conf
)
44
{
45
nr = conf.
getParameter
<
int
>(
"nr"
);
46
min
= conf.
getParameter
<
double
>(
"min"
);
47
max
= conf.
getParameter
<
double
>(
"max"
);
48
}
49
50
void
egHLT::BinData::Data2D::setup
(
const
edm::ParameterSet
&
conf
)
51
{
52
nrX = conf.
getParameter
<
int
>(
"nrX"
);
53
xMin = conf.
getParameter
<
double
>(
"yMin"
);
54
xMax = conf.
getParameter
<
double
>(
"yMax"
);
55
nrY = conf.
getParameter
<
int
>(
"nrY"
);
56
yMin = conf.
getParameter
<
double
>(
"yMin"
);
57
yMax = conf.
getParameter
<
double
>(
"yMax"
);
58
}
egHLT::BinData::deltaE
Data1D deltaE
Definition:
EgHLTBinData.h:55
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
egHLT::BinData::isolNrTrks
Data1D isolNrTrks
Definition:
EgHLTBinData.h:60
egHLT::BinData::e2x5
Data1D e2x5
Definition:
EgHLTBinData.h:45
egHLT::BinData::hOverE
Data1D hOverE
Definition:
EgHLTBinData.h:41
egHLT::BinData::e1x5
Data1D e1x5
Definition:
EgHLTBinData.h:46
min
#define min(a, b)
Definition:
mlp_lapack.h:161
egHLT::BinData::etHigh
Data1D etHigh
Definition:
EgHLTBinData.h:37
egHLT::BinData::minr9
Data1D minr9
Definition:
EgHLTBinData.h:49
egHLT::BinData::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:6
egHLT::BinData::isolPtTrks
Data1D isolPtTrks
Definition:
EgHLTBinData.h:59
egHLT::BinData::isolEm
Data1D isolEm
Definition:
EgHLTBinData.h:57
ParameterSet.h
egHLT::BinData::isolHad
Data1D isolHad
Definition:
EgHLTBinData.h:58
egHLT::BinData::mass
Data1D mass
Definition:
EgHLTBinData.h:61
egHLT::BinData::invEInvP
Data1D invEInvP
Definition:
EgHLTBinData.h:64
EgHLTBinData.h
max
const T & max(const T &a, const T &b)
Definition:
MaterialBudgetTrackerHistos.cc:4
egHLT::BinData::et
Data1D et
Definition:
EgHLTBinData.h:36
egHLT::BinData::phi
Data1D phi
Definition:
EgHLTBinData.h:39
dbtoconf.conf
tuple conf
Definition:
dbtoconf.py:185
egHLT::BinData::Data2D::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:50
egHLT::BinData::Data1D::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTBinData.cc:43
egHLT::BinData::HLTeta
Data1D HLTeta
Definition:
EgHLTBinData.h:54
egHLT::BinData::eta
Data1D eta
Definition:
EgHLTBinData.h:38
egHLT::BinData::HLTphi
Data1D HLTphi
Definition:
EgHLTBinData.h:53
egHLT::BinData::dEtaIn
Data1D dEtaIn
Definition:
EgHLTBinData.h:43
egHLT::BinData::HLTenergy
Data1D HLTenergy
Definition:
EgHLTBinData.h:52
egHLT::BinData::dPhiIn
Data1D dPhiIn
Definition:
EgHLTBinData.h:42
egHLT::BinData::energy
Data1D energy
Definition:
EgHLTBinData.h:35
egHLT::BinData::nVertex
Data1D nVertex
Definition:
EgHLTBinData.h:51
egHLT::BinData::maxr9
Data1D maxr9
Definition:
EgHLTBinData.h:50
egHLT::BinData::sigEtaEta
Data1D sigEtaEta
Definition:
EgHLTBinData.h:44
egHLT::BinData::eOverP
Data1D eOverP
Definition:
EgHLTBinData.h:63
egHLT::BinData::charge
Data1D charge
Definition:
EgHLTBinData.h:40
edm::ParameterSet
Definition:
ParameterSet.h:35
egHLT::BinData::massHigh
Data1D massHigh
Definition:
EgHLTBinData.h:62
egHLT::BinData::etaVsPhi
Data2D etaVsPhi
Definition:
EgHLTBinData.h:66
Generated for CMSSW Reference Manual by
1.8.5