1 #ifndef L1TObjects_L1CaloEtScale_h
2 #define L1TObjects_L1CaloEtScale_h
25 #include <boost/cstdint.hpp>
38 L1CaloEtScale(
const double linearLsbInGeV,
const std::vector<double>& thresholdsInGeV);
59 uint16_t
rank(
const double EtInGeV)
const;
62 double et(
const uint16_t
rank)
const;
67 void print(std::ostream&
s)
const;
uint16_t m_linScaleMax
linear scale maximum
uint16_t m_rankScaleMax
rank scale maximum
double m_linearLsb
LSB of linear scale in GeV.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double et(const uint16_t rank) const
convert from rank to physically meaningful quantity
double linearLsb() const
get LSB of linear input scale
uint16_t rank(const uint16_t linear) const
convert from linear Et scale to rank scale
void print(std::ostream &s) const
const std::vector< double > & getThresholds() const
get thresholds
L1CaloEtScale()
default constructor, for testing (out = in)
std::vector< double > m_thresholds
thresholds associated with rank scale in GeV
#define COND_SERIALIZABLE
unsigned linScaleMax() const
unsigned rankScaleMax() const