25 m_lutType(lut.lutType())
38 const int maxOutput = ((1<<
NData)-1);
39 if (lutAddress > maxOutput)
return maxOutput;
40 else return (lutAddress & maxOutput);
45 std::vector<unsigned>
result;
48 result.push_back(
add);
61 os <<
"===L1GctHfBitCountsLut===" << std::endl;
62 os <<
"\n===Lookup table contents===\n" << std::endl;
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Base class for LookUp Tables.
L1GctHfBitCountsLut operator=(const L1GctHfBitCountsLut &lut)
Overload = operator.
LUT for compression of HF feature bit counts to output format.
L1GctHfBitCountsLut()
Default constructor.
virtual ~L1GctHfBitCountsLut()
Destructor.
static const int NAddress
std::vector< unsigned > getThresholdsGct() const
Get thresholds.
virtual uint16_t value(const uint16_t lutAddress) const