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++);
52 os <<
"\n===Lookup table contents===\n" << std::endl;
const std::vector< double > & getThresholds() const
get thresholds
const L1CaloEtScale * m_lutFunction
std::ostream & operator<<(std::ostream &os, const L1GctHfEtSumsLut &lut)
std::vector< unsigned > getThresholdsGct() const
Base class for LookUp Tables.
static const int NAddress
~L1GctHfEtSumsLut() override
Destructor.
double linearLsb() const
get LSB of linear input scale
LUT for compression of HF Et sum to output format.
L1GctHfEtSumsLut()
Default constructor.
uint16_t rank(const uint16_t linear) const
convert from linear Et scale to rank scale
std::vector< double > getThresholdsGeV() const
Get thresholds.
L1GctHfEtSumsLut operator=(const L1GctHfEtSumsLut &lut)
Overload = operator.
uint16_t value(const uint16_t lutAddress) const override