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... | |
~L1GctHfBitCountsLut () override | |
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 | |
uint16_t | value (const uint16_t lutAddress) const override |
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 19 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 13 of file L1GctHfBitCountsLut.cc.
References L1GctLut< 5, 3 >::m_setupOk.
L1GctHfBitCountsLut::L1GctHfBitCountsLut | ( | const L1GctHfBitCountsLut & | lut | ) |
Copy constructor.
Definition at line 18 of file L1GctHfBitCountsLut.cc.
References L1GctLut< 5, 3 >::m_setupOk.
|
override |
std::vector< unsigned > L1GctHfBitCountsLut::getThresholdsGct | ( | ) | const |
Get thresholds.
Definition at line 35 of file L1GctHfBitCountsLut.cc.
References PVValHelper::add(), NData, and mps_fire::result.
|
inline |
Return the type of Lut.
Definition at line 42 of file L1GctHfBitCountsLut.h.
References m_lutType.
L1GctHfBitCountsLut L1GctHfBitCountsLut::operator= | ( | const L1GctHfBitCountsLut & | lut | ) |
Overload = operator.
Definition at line 44 of file L1GctHfBitCountsLut.cc.
References groupFilesInBlocks::temp.
|
overrideprotectedvirtual |
Implements L1GctLut< 5, 3 >.
Definition at line 26 of file L1GctHfBitCountsLut.cc.
References NData.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
friend |
|
private |
Definition at line 51 of file L1GctHfBitCountsLut.h.
Referenced by lutType().
|
static |
Definition at line 24 of file L1GctHfBitCountsLut.h.
|
static |
Definition at line 24 of file L1GctHfBitCountsLut.h.
Referenced by getThresholdsGct(), and value().