Go to the documentation of this file. 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;
#define COND_SERIALIZABLE
double m_linearLsb
LSB of linear scale in GeV.
unsigned rankScaleMax() const
std::ostream & operator<<(std::ostream &os, const L1CaloEtScale onj)
double linearLsb() const
get LSB of linear input scale
uint16_t m_rankScaleMax
rank scale maximum
unsigned linScaleMax() const
uint16_t m_linScaleMax
linear scale maximum
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)
double et(const uint16_t rank) const
convert from rank to physically meaningful quantity
std::vector< double > m_thresholds
thresholds associated with rank scale in GeV