src
L1Trigger
L1TMuon
interface
MicroGMTExtrapolationLUT.h
Go to the documentation of this file.
1
#ifndef __l1microgmtextrapolationlut_h
2
#define __l1microgmtextrapolationlut_h
3
4
#include "
MicroGMTLUT.h
"
5
6
//FIXME move to cc
7
#include "
MicroGMTConfiguration.h
"
8
9
namespace
l1t
{
10
class
MicroGMTExtrapolationLUT
:
public
MicroGMTLUT
{
11
public
:
12
MicroGMTExtrapolationLUT
() {}
13
explicit
MicroGMTExtrapolationLUT
(
const
std::string
&
fname
,
14
const
int
outWidth,
15
const
int
etaRedInWidth,
16
const
int
ptRedInWidth);
17
explicit
MicroGMTExtrapolationLUT
(
l1t::LUT
* lut,
18
const
int
outWidth,
19
const
int
etaRedInWidth,
20
const
int
ptRedInWidth);
21
~MicroGMTExtrapolationLUT
()
override
{}
22
23
// returns the index corresponding to the calo tower sum
24
int
lookup
(
int
angle
,
int
pt
)
const
;
25
26
int
hashInput
(
int
angle
,
int
pt
)
const
;
27
void
unHashInput
(
int
input
,
int
&
angle
,
int
&
pt
)
const
;
28
29
int
getEtaRedInWidth
()
const
;
30
int
getPtRedInWidth
()
const
;
31
32
private
:
33
int
m_etaRedInWidth
;
34
int
m_ptRedInWidth
;
35
36
int
m_etaRedMask
;
37
int
m_ptRedMask
;
38
};
39
}
// namespace l1t
40
#endif
/* defined(__l1microgmtextrapolationlut_h) */
l1t::MicroGMTExtrapolationLUT::lookup
int lookup(int angle, int pt) const
Definition:
MicroGMTExtrapolationLUT.cc:39
l1t::MicroGMTExtrapolationLUT::m_etaRedMask
int m_etaRedMask
Definition:
MicroGMTExtrapolationLUT.h:36
l1t::MicroGMTExtrapolationLUT::MicroGMTExtrapolationLUT
MicroGMTExtrapolationLUT()
Definition:
MicroGMTExtrapolationLUT.h:12
l1t::MicroGMTExtrapolationLUT
Definition:
MicroGMTExtrapolationLUT.h:10
l1t::MicroGMTExtrapolationLUT::getEtaRedInWidth
int getEtaRedInWidth() const
Definition:
MicroGMTExtrapolationLUT.cc:62
l1t::MicroGMTExtrapolationLUT::m_etaRedInWidth
int m_etaRedInWidth
Definition:
MicroGMTExtrapolationLUT.h:33
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::MicroGMTExtrapolationLUT::unHashInput
void unHashInput(int input, int &angle, int &pt) const
Definition:
MicroGMTExtrapolationLUT.cc:57
l1t::MicroGMTExtrapolationLUT::getPtRedInWidth
int getPtRedInWidth() const
Definition:
MicroGMTExtrapolationLUT.cc:64
MicroGMTConfiguration.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
input
static std::string const input
Definition:
EdmProvDump.cc:50
l1t::MicroGMTExtrapolationLUT::~MicroGMTExtrapolationLUT
~MicroGMTExtrapolationLUT() override
Definition:
MicroGMTExtrapolationLUT.h:21
MicroGMTLUT.h
l1t::LUT
Definition:
LUT.h:29
l1t::MicroGMTExtrapolationLUT::m_ptRedInWidth
int m_ptRedInWidth
Definition:
MicroGMTExtrapolationLUT.h:34
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:959
l1t::MicroGMTExtrapolationLUT::hashInput
int hashInput(int angle, int pt) const
Definition:
MicroGMTExtrapolationLUT.cc:50
l1t::MicroGMTExtrapolationLUT::m_ptRedMask
int m_ptRedMask
Definition:
MicroGMTExtrapolationLUT.h:37
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