8 :
L1GctLut<NAddress, NData>(), m_lutType(type) {
19 :
L1GctLut<NAddress, NData>(), m_lutType(lut.lutType()) {
28 const int maxOutput = ((1 <<
NData) - 1);
29 if (lutAddress > maxOutput)
32 return (lutAddress & maxOutput);
36 std::vector<unsigned>
result;
39 result.push_back(
add);
50 os <<
"===L1GctHfBitCountsLut===" << std::endl;
51 os <<
"\n===Lookup table contents===\n" << std::endl;
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.
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
static const int NAddress
~L1GctHfBitCountsLut() override
Destructor.
std::vector< unsigned > getThresholdsGct() const
Get thresholds.
uint16_t value(const uint16_t lutAddress) const override