#include <MicroGMTCaloIndexSelectionLUT.h>
Public Member Functions | |
int | hashInput (int angle) const |
int | lookup (int angle) const |
MicroGMTCaloIndexSelectionLUT () | |
MicroGMTCaloIndexSelectionLUT (const std::string &fname, int type) | |
MicroGMTCaloIndexSelectionLUT (l1t::LUT *lut, int type) | |
void | unHashInput (int input, int &angle) const |
~MicroGMTCaloIndexSelectionLUT () override | |
Public Member Functions inherited from l1t::MicroGMTLUT | |
int | checkedInput (unsigned in, unsigned maxWidth) const |
void | initialize () |
int | load (const std::string &inFileName) |
virtual int | lookupPacked (int input) const |
MicroGMTLUT () | |
MicroGMTLUT (l1t::LUT *lut) | |
void | save (std::ofstream &output) |
virtual | ~MicroGMTLUT () |
Public Member Functions inherited from l1t::LUT | |
int | data (unsigned int address) const |
bool | empty () const |
LUT () | |
LUT (std::istream &stream) | |
unsigned int | maxSize () const |
unsigned int | nrBitsAddress () const |
unsigned int | nrBitsData () const |
int | read (std::istream &stream) |
void | write (std::ostream &stream) const |
~LUT () | |
Private Attributes | |
int | m_angleInWidth |
Additional Inherited Members | |
Public Types inherited from l1t::LUT | |
enum | ReadCodes { SUCCESS = 0, NO_ENTRIES = 1, DUP_ENTRIES = 2, MISS_ENTRIES = 3, MAX_ADDRESS_OUTOFRANGE = 4, NO_HEADER = 5 } |
Protected Attributes inherited from l1t::MicroGMTLUT | |
bool | m_initialized |
std::vector< MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
Definition at line 8 of file MicroGMTCaloIndexSelectionLUT.h.
|
inline |
Definition at line 10 of file MicroGMTCaloIndexSelectionLUT.h.
|
explicit |
Definition at line 3 of file MicroGMTCaloIndexSelectionLUT.cc.
References l1t::MicroGMTConfiguration::ETA, alignmentValidation::fname, l1t::MicroGMTLUT::load(), m_angleInWidth, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, l1t::MicroGMTLUT::m_totalInWidth, l1t::MicroGMTConfiguration::PHI, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 21 of file MicroGMTCaloIndexSelectionLUT.cc.
References l1t::MicroGMTConfiguration::ETA, m_angleInWidth, l1t::MicroGMTLUT::m_initialized, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, l1t::MicroGMTLUT::m_totalInWidth, and l1t::MicroGMTConfiguration::PHI.
|
inlineoverride |
Definition at line 13 of file MicroGMTCaloIndexSelectionLUT.h.
|
inline |
int l1t::MicroGMTCaloIndexSelectionLUT::lookup | ( | int | angle | ) | const |
Definition at line 37 of file MicroGMTCaloIndexSelectionLUT.cc.
References angle().
|
inline |
|
private |
Definition at line 22 of file MicroGMTCaloIndexSelectionLUT.h.
Referenced by MicroGMTCaloIndexSelectionLUT().