55 std::vector<unsigned>
result;
57 for (std::vector<double>::const_iterator thr=thresholdsGeV.begin();
58 thr != thresholdsGeV.end(); thr++) {
72 os <<
"===L1GctHfEtSumsLut===" << std::endl;
74 std::vector<double>::const_iterator thr = thresholds.begin();
75 os <<
"Thresholds are: " << *(thr++);
76 for ( ; thr != thresholds.end(); thr++) {
80 os <<
"\n===Lookup table contents===\n" << std::endl;
const L1CaloEtScale * m_lutFunction
L1GctHfEtSumsLut::hfLutType lutType() const
Return the type of Lut.
const L1CaloEtScale * lutFunction() const
Return the Lut function.
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.
uint16_t value(const uint16_t lutAddress) const override
L1GctHfEtSumsLut()
Default constructor.
friend std::ostream & operator<<(std::ostream &os, const L1GctHfEtSumsLut &lut)
Overload << operator.
std::vector< unsigned > getThresholdsGct() const
std::vector< double > getThresholdsGeV() const
Get thresholds.
L1GctHfEtSumsLut operator=(const L1GctHfEtSumsLut &lut)
Overload = operator.
L1GctHfEtSumsLut::hfLutType m_lutType