LUT for compression of HF feature bit counts to output format. More...
#include <L1GctHfBitCountsLut.h>
Public Member Functions | |
std::vector< unsigned > | getThresholdsGct () const |
Get thresholds. More... | |
L1GctHfBitCountsLut (const L1GctHfEtSumsLut::hfLutType &type) | |
Constructor for use with emulator - which type of Lut? More... | |
L1GctHfBitCountsLut () | |
Default constructor. More... | |
L1GctHfBitCountsLut (const L1GctHfBitCountsLut &lut) | |
Copy constructor. More... | |
L1GctHfEtSumsLut::hfLutType | lutType () const |
Return the type of Lut. More... | |
L1GctHfBitCountsLut | operator= (const L1GctHfBitCountsLut &lut) |
Overload = operator. More... | |
virtual | ~L1GctHfBitCountsLut () |
Destructor. More... | |
Public Member Functions inherited from L1GctLut< 5, 3 > | |
uint16_t | lutValue (const uint16_t lutAddress) const |
Access the look-up table contents for a given Address. More... | |
int | operator!= (const L1GctLut< KAddressBits, KDataBits > &rhsLut) const |
Inequality check between look-up tables. More... | |
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 int | NAddress =5 |
static const int | NData =3 |
Static Public Attributes inherited from L1GctLut< 5, 3 > | |
static const uint16_t | MAX_ADDRESS_BITMASK |
static const uint16_t | MAX_DATA_BITMASK |
Protected Member Functions | |
virtual uint16_t | value (const uint16_t lutAddress) const |
Protected Member Functions inherited from L1GctLut< 5, 3 > | |
bool | equalityCheck (const L1GctLut< KAddressBits, KDataBits > &c) const |
L1GctLut () | |
Private Attributes | |
L1GctHfEtSumsLut::hfLutType | m_lutType |
Friends | |
std::ostream & | operator<< (std::ostream &os, const L1GctHfBitCountsLut &lut) |
Overload << operator. More... | |
Additional Inherited Members | |
Protected Attributes inherited from L1GctLut< 5, 3 > | |
bool | m_setupOk |
bool | m_verbose |
LUT for compression of HF feature bit counts to output format.
Definition at line 20 of file L1GctHfBitCountsLut.h.
L1GctHfBitCountsLut::L1GctHfBitCountsLut | ( | const L1GctHfEtSumsLut::hfLutType & | type | ) |
Constructor for use with emulator - which type of Lut?
Definition at line 7 of file L1GctHfBitCountsLut.cc.
References L1GctLut< 5, 3 >::m_setupOk.
L1GctHfBitCountsLut::L1GctHfBitCountsLut | ( | ) |
Default constructor.
Definition at line 15 of file L1GctHfBitCountsLut.cc.
References L1GctLut< 5, 3 >::m_setupOk.
L1GctHfBitCountsLut::L1GctHfBitCountsLut | ( | const L1GctHfBitCountsLut & | lut | ) |
Copy constructor.
Definition at line 23 of file L1GctHfBitCountsLut.cc.
References L1GctLut< 5, 3 >::m_setupOk.
|
virtual |
std::vector< unsigned > L1GctHfBitCountsLut::getThresholdsGct | ( | ) | const |
Get thresholds.
Definition at line 43 of file L1GctHfBitCountsLut.cc.
References Clusterizer1DCommons::add(), NData, and mps_fire::result.
|
inline |
Return the type of Lut.
Definition at line 44 of file L1GctHfBitCountsLut.h.
References m_lutType.
L1GctHfBitCountsLut L1GctHfBitCountsLut::operator= | ( | const L1GctHfBitCountsLut & | lut | ) |
Overload = operator.
Definition at line 53 of file L1GctHfBitCountsLut.cc.
References groupFilesInBlocks::temp.
|
protectedvirtual |
Implements L1GctLut< 5, 3 >.
Definition at line 35 of file L1GctHfBitCountsLut.cc.
References NData.
Referenced by average.Average::average().
|
friend |
|
private |
Definition at line 56 of file L1GctHfBitCountsLut.h.
Referenced by lutType().
|
static |
Definition at line 26 of file L1GctHfBitCountsLut.h.
|
static |
Definition at line 26 of file L1GctHfBitCountsLut.h.
Referenced by getThresholdsGct(), and value().