10 :
L1GctLut<NAddress, NData>(), m_lutFunction(scale), m_lutType(type) {
16 :
L1GctLut<NAddress, NData>(), m_lutFunction(nullptr), m_lutType(type) {}
21 :
L1GctLut<NAddress, NData>(), m_lutFunction(lut.lutFunction()), m_lutType(lut.lutType()) {}
30 std::vector<unsigned>
result;
32 for (std::vector<double>::const_iterator thr = thresholdsGeV.begin(); thr != thresholdsGeV.end(); thr++) {
44 os <<
"===L1GctHfEtSumsLut===" << std::endl;
46 std::vector<double>::const_iterator thr = thresholds.begin();
47 os <<
"Thresholds are: " << *(thr++);
48 for (; thr != thresholds.end(); thr++) {
52 os <<
"\n===Lookup table contents===\n" << std::endl;
const L1CaloEtScale * m_lutFunction
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double linearLsb() const
get LSB of linear input scale
Base class for LookUp Tables.
uint16_t rank(const uint16_t linear) const
convert from linear Et scale to rank scale
static const int NAddress
~L1GctHfEtSumsLut() override
Destructor.
const std::vector< double > & getThresholds() const
get thresholds
LUT for compression of HF Et sum to output format.
L1GctHfEtSumsLut()
Default constructor.
std::vector< unsigned > getThresholdsGct() const
std::vector< double > getThresholdsGeV() const
Get thresholds.
L1GctHfEtSumsLut operator=(const L1GctHfEtSumsLut &lut)
Overload = operator.
uint16_t value(const uint16_t lutAddress) const override