Base class for LookUp Tables. More...
#include <L1GctLut.h>
Public Member Functions | |
uint16_t | lutValue (const uint16_t lutAddress) const |
Access the look-up table contents for a given Address. More... | |
template<int KAddressBits, int KDataBits> | |
int | operator!= (const L1GctLut< KAddressBits, KDataBits > &rhsLut) const |
Inequality check between look-up tables. More... | |
template<int KAddressBits, int KDataBits> | |
int | operator== (const L1GctLut< KAddressBits, KDataBits > &rhsLut) const |
Equality check between look-up tables. More... | |
uint16_t | operator[] (const uint16_t lutAddress) const |
Access the look-up table contents for a given Address. More... | |
void | setTerse () |
bool | setupOk () |
void | setVerbose () |
control output messages More... | |
virtual | ~L1GctLut () |
Static Public Attributes | |
static const uint16_t | MAX_ADDRESS_BITMASK = (1 << NAddressBits) - 1 |
static const uint16_t | MAX_DATA_BITMASK = (1 << NDataBits) - 1 |
Protected Member Functions | |
template<int KAddressBits, int KDataBits> | |
bool | equalityCheck (const L1GctLut< KAddressBits, KDataBits > &c) const |
L1GctLut () | |
virtual uint16_t | value (const uint16_t lutAddress) const =0 |
Protected Attributes | |
bool | m_setupOk |
bool | m_verbose |
Private Member Functions | |
std::string | printHeader () const |
std::string | printLine (const int add) const |
Static Private Attributes | |
static const int | printWidth = 16 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const L1GctLut< NAddressBits, NDataBits > &lut) |
Overload << operator. More... | |
Base class for LookUp Tables.
Definition at line 20 of file L1GctLut.h.
|
virtual |
Definition at line 101 of file L1GctLut.h.
|
protected |
Definition at line 98 of file L1GctLut.h.
|
protected |
Definition at line 114 of file L1GctLut.h.
References L1GctLut< NAddressBits, NDataBits >::lutValue(), and match().
Referenced by L1GctLut< 16, 12 >::operator!=(), and L1GctLut< 16, 12 >::operator==().
uint16_t L1GctLut< NAddressBits, NDataBits >::lutValue | ( | const uint16_t | lutAddress | ) | const |
Access the look-up table contents for a given Address.
Definition at line 104 of file L1GctLut.h.
References AlCaHLTBitMon_QueryRunRegistry::data, and relativeConstraints::value.
Referenced by L1GctLut< NAddressBits, NDataBits >::equalityCheck(), L1GctLut< 16, 12 >::operator[](), and L1GctMet::useHtMissLutAlgo().
|
inline |
Inequality check between look-up tables.
Definition at line 60 of file L1GctLut.h.
|
inline |
Equality check between look-up tables.
Definition at line 56 of file L1GctLut.h.
|
inline |
Access the look-up table contents for a given Address.
Definition at line 52 of file L1GctLut.h.
|
private |
|
private |
Definition at line 147 of file L1GctLut.h.
References a, Clusterizer1DCommons::add(), EnergyCorrector::c, and contentValuesCheck::ss.
|
inline |
Definition at line 66 of file L1GctLut.h.
|
inline |
Definition at line 62 of file L1GctLut.h.
|
inline |
|
protectedpure virtual |
Implemented in L1GctHfEtSumsLut, L1GctHtMissLut, L1GctJetEtCalibrationLut, and L1GctHfBitCountsLut.
Referenced by average.Average::average().
|
friend |
|
protected |
Definition at line 77 of file L1GctLut.h.
Referenced by L1GctLut< 16, 12 >::setupOk().
|
protected |
Definition at line 78 of file L1GctLut.h.
Referenced by L1GctLut< 16, 12 >::setTerse(), and L1GctLut< 16, 12 >::setVerbose().
|
static |
Definition at line 23 of file L1GctLut.h.
|
static |
Definition at line 24 of file L1GctLut.h.
|
staticprivate |
Definition at line 83 of file L1GctLut.h.