L1Trigger
L1TMuon
src
MicroGMTAbsoluteIsolationCheckLUT.cc
Go to the documentation of this file.
1
#include "
L1Trigger/L1TMuon/interface/MicroGMTAbsoluteIsolationCheckLUT.h
"
2
3
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT
(
const
std::string
&
fname
)
4
:
MicroGMTLUT
(), m_energySumInWidth(5) {
5
m_totalInWidth
=
m_energySumInWidth
;
6
m_outWidth
= 1;
7
8
if
(
fname
!=
std::string
(
""
)) {
9
load
(
fname
);
10
}
11
12
m_inputs
.push_back(
MicroGMTConfiguration::ENERGYSUM
);
13
}
14
15
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT
(
l1t::LUT
* lut)
16
:
MicroGMTLUT
(lut), m_energySumInWidth(5) {
17
m_totalInWidth
=
m_energySumInWidth
;
18
m_outWidth
= 1;
19
20
m_inputs
.push_back(
MicroGMTConfiguration::ENERGYSUM
);
21
m_initialized
=
true
;
22
}
23
24
int
l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup
(
int
energySum
)
const
{
25
return
lookupPacked(checkedInput(
energySum
, m_energySumInWidth));
26
}
l1t::MicroGMTLUT::m_totalInWidth
unsigned m_totalInWidth
Definition:
MicroGMTLUT.h:34
l1t::MicroGMTLUT::m_initialized
bool m_initialized
Definition:
MicroGMTLUT.h:37
l1t::MicroGMTLUT::load
int load(const std::string &inFileName)
Definition:
MicroGMTLUT.cc:15
l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup
int lookup(int energySum) const
Definition:
MicroGMTAbsoluteIsolationCheckLUT.cc:24
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition:
MicroGMTLUT.h:36
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
int m_energySumInWidth
Definition:
MicroGMTAbsoluteIsolationCheckLUT.h:24
l1t::LUT
Definition:
LUT.h:29
l1t::MicroGMTConfiguration::ENERGYSUM
Definition:
MicroGMTConfiguration.h:28
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT
MicroGMTAbsoluteIsolationCheckLUT()
Definition:
MicroGMTAbsoluteIsolationCheckLUT.h:10
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:959
l1t::MicroGMTLUT::m_outWidth
unsigned m_outWidth
Definition:
MicroGMTLUT.h:35
MicroGMTAbsoluteIsolationCheckLUT.h
CastorDataFrameFilter_impl::energySum
double energySum(const DataFrame &df, int fs, int ls)
Definition:
CastorDataFrameFilter.cc:22
Generated for CMSSW Reference Manual by
1.8.14