L1Trigger
L1TMuon
interface
MicroGMTCaloIndexSelectionLUT.h
Go to the documentation of this file.
1
#ifndef __l1microgmtcaloindexselectionlut_h
2
#define __l1microgmtcaloindexselectionlut_h
3
4
#include "
MicroGMTLUT.h
"
5
#include "
MicroGMTConfiguration.h
"
6
7
namespace
l1t
{
8
class
MicroGMTCaloIndexSelectionLUT
:
public
MicroGMTLUT
{
9
public
:
10
MicroGMTCaloIndexSelectionLUT
(){};
11
explicit
MicroGMTCaloIndexSelectionLUT
(
const
std::string
&
fname
,
int
type
);
12
explicit
MicroGMTCaloIndexSelectionLUT
(
l1t::LUT
* lut,
int
type
);
13
~MicroGMTCaloIndexSelectionLUT
()
override
{};
14
15
// returns the index corresponding to the calo tower sum
16
int
lookup
(
int
angle
)
const
;
17
18
int
hashInput
(
int
angle
)
const
{
return
angle
; };
19
void
unHashInput
(
int
input
,
int
&
angle
)
const
{
angle
=
input
; }
20
21
private
:
22
int
m_angleInWidth
;
23
};
24
}
// namespace l1t
25
26
#endif
/* defined(__l1microgmtcaloindexselectionlut_h) */
l1t::MicroGMTCaloIndexSelectionLUT::hashInput
int hashInput(int angle) const
Definition:
MicroGMTCaloIndexSelectionLUT.h:18
l1t
delete x;
Definition:
CaloConfig.h:22
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
MicroGMTConfiguration.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
input
static std::string const input
Definition:
EdmProvDump.cc:50
l1t::MicroGMTCaloIndexSelectionLUT
Definition:
MicroGMTCaloIndexSelectionLUT.h:8
l1t::MicroGMTCaloIndexSelectionLUT::lookup
int lookup(int angle) const
Definition:
MicroGMTCaloIndexSelectionLUT.cc:37
MicroGMTLUT.h
l1t::MicroGMTCaloIndexSelectionLUT::~MicroGMTCaloIndexSelectionLUT
~MicroGMTCaloIndexSelectionLUT() override
Definition:
MicroGMTCaloIndexSelectionLUT.h:13
l1t::LUT
Definition:
LUT.h:29
l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT
MicroGMTCaloIndexSelectionLUT()
Definition:
MicroGMTCaloIndexSelectionLUT.h:10
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:959
l1t::MicroGMTCaloIndexSelectionLUT::unHashInput
void unHashInput(int input, int &angle) const
Definition:
MicroGMTCaloIndexSelectionLUT.h:19
l1t::MicroGMTCaloIndexSelectionLUT::m_angleInWidth
int m_angleInWidth
Definition:
MicroGMTCaloIndexSelectionLUT.h:22
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.14