test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuon
src
MicroGMTAbsoluteIsolationCheckLUT.cc
Go to the documentation of this file.
1
#include "../interface/MicroGMTAbsoluteIsolationCheckLUT.h"
2
3
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT
(
const
std::string
&
fname
) :
MicroGMTLUT
(), m_energySumInWidth(5)
4
{
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
) :
MicroGMTLUT
(lut), m_energySumInWidth(5)
16
{
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
25
l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup
(
int
energySum
)
const
26
{
27
return
lookupPacked(checkedInput(energySum, m_energySumInWidth));
28
}
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:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition:
MicroGMTLUT.h:36
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
lumiPlot.lut
tuple lut
Definition:
lumiPlot.py:244
l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
int m_energySumInWidth
Definition:
MicroGMTAbsoluteIsolationCheckLUT.h:24
l1t::LUT
Definition:
LUT.h:29
l1t::MicroGMTConfiguration::ENERGYSUM
Definition:
MicroGMTConfiguration.h:20
l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup
int lookup(int energySum) const
Definition:
MicroGMTAbsoluteIsolationCheckLUT.cc:25
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT
MicroGMTAbsoluteIsolationCheckLUT()
Definition:
MicroGMTAbsoluteIsolationCheckLUT.h:11
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:957
l1t::MicroGMTLUT::m_outWidth
unsigned m_outWidth
Definition:
MicroGMTLUT.h:35
CastorDataFrameFilter_impl::energySum
double energySum(const DataFrame &df, int fs, int ls)
Definition:
CastorDataFrameFilter.cc:22
Generated for CMSSW Reference Manual by
1.8.5