Go to the documentation of this file. 1 #ifndef L1TObjects_L1CaloEcalScale_h
2 #define L1TObjects_L1CaloEcalScale_h
55 double et(
unsigned short rank,
59 void print(std::ostream&
s)
const;
#define COND_SERIALIZABLE
double et(unsigned short rank, unsigned short eta, short etaSign) const
convert from rank to physically meaningful quantity
static const unsigned short nBinRank
uint16_t rank(double et, unsigned short eta, short etaSign) const
convert from physical Et in GeV to rank scale
L1CaloEcalScale(double lsb=1.0)
constructor (creates a linear scale with an LSB - no LSB gives identity)
void print(std::ostream &s) const
double m_scale[nBinRank][2 *nBinEta]
thresholds associated with rank scale in GeV
void setBin(unsigned short rank, unsigned short eta, short etaSign, double et)
set scale element; use this to create non-linear scales
static const unsigned short nBinEta
~L1CaloEcalScale()
destructor