1 #ifndef L1TObjects_L1CaloEtScale_h 2 #define L1TObjects_L1CaloEtScale_h 36 L1CaloEtScale(
const double linearLsbInGeV,
const std::vector<double>& thresholdsInGeV);
41 const double linearLsbInGeV,
42 const std::vector<double>& thresholdsInGeV);
60 uint16_t
rank(
const double EtInGeV)
const;
63 double et(
const uint16_t
rank)
const;
68 void print(std::ostream&
s)
const;
const std::vector< double > & getThresholds() const
get thresholds
uint16_t m_linScaleMax
linear scale maximum
uint16_t m_rankScaleMax
rank scale maximum
double m_linearLsb
LSB of linear scale in GeV.
unsigned linScaleMax() const
std::ostream & operator<<(std::ostream &os, const L1CaloEtScale onj)
double et(const uint16_t rank) const
convert from rank to physically meaningful quantity
L1CaloEtScale()
default constructor, for testing (out = in)
double linearLsb() const
get LSB of linear input scale
std::vector< double > m_thresholds
thresholds associated with rank scale in GeV
#define COND_SERIALIZABLE
uint16_t rank(const uint16_t linear) const
convert from linear Et scale to rank scale
unsigned rankScaleMax() const
void print(std::ostream &s) const