Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuon
src
MicroGMTCaloIndexSelectionLUT.cc
Go to the documentation of this file.
1
#include "../interface/MicroGMTCaloIndexSelectionLUT.h"
2
3
l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT
(
const
std::string
&
fname
,
int
type
) :
MicroGMTLUT
()
4
{
5
if
(type ==
MicroGMTConfiguration::ETA
) {
6
m_angleInWidth
= 9;
7
m_outWidth
= 5;
8
m_inputs
.push_back(
MicroGMTConfiguration::ETA
);
9
}
else
{
10
m_angleInWidth
= 10;
11
m_outWidth
= 6;
12
m_inputs
.push_back(
MicroGMTConfiguration::PHI
);
13
}
14
15
m_totalInWidth
=
m_angleInWidth
;
16
17
if
(fname !=
std::string
(
""
)) {
18
load
(fname);
19
}
20
}
21
22
int
23
l1t::MicroGMTCaloIndexSelectionLUT::lookup
(
int
angle
)
const
24
{
25
return
lookupPacked(angle);
26
}
type
type
Definition:
HCALResponse.h:21
l1t::MicroGMTLUT::m_totalInWidth
unsigned m_totalInWidth
Definition:
MicroGMTLUT.h:33
l1t::MicroGMTLUT::load
int load(const std::string &inFileName)
Definition:
MicroGMTLUT.cc:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition:
MicroGMTLUT.h:35
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
l1t::MicroGMTConfiguration::PHI
Definition:
MicroGMTConfiguration.h:20
l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT
MicroGMTCaloIndexSelectionLUT()
Definition:
MicroGMTCaloIndexSelectionLUT.h:10
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:957
l1t::MicroGMTLUT::m_outWidth
unsigned m_outWidth
Definition:
MicroGMTLUT.h:34
l1t::MicroGMTCaloIndexSelectionLUT::lookup
int lookup(int angle) const
Definition:
MicroGMTCaloIndexSelectionLUT.cc:23
l1t::MicroGMTConfiguration::ETA
Definition:
MicroGMTConfiguration.h:20
l1t::MicroGMTCaloIndexSelectionLUT::m_angleInWidth
int m_angleInWidth
Definition:
MicroGMTCaloIndexSelectionLUT.h:20
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition:
angle.h:11
Generated for CMSSW Reference Manual by
1.8.5