Go to the documentation of this file.
48 unsigned short out = 0;
76 s <<
"L1CaloHcalScaleRcd" << endl;
77 s <<
"Energy for HCAL inputs into the RCT" << endl;
78 s <<
"Each new row is for a given value of 8 bit output of HCAL. Each column is for the respective eta value "
81 s <<
"rank " <<
rank <<
" ";
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
void print(std::ostream &s) const
static const unsigned short nBinEta
~L1CaloHcalScale()
destructor
void setBin(unsigned short rank, unsigned short eta, short etaSign, double et)
set scale element; use this to create non-linear scales
L1CaloHcalScale(double lsb=1.0)
constructor (creates a linear scale with an LSB - no LSB gives identity)
double m_scale[nBinRank][2 *nBinEta]
thresholds associated with rank scale in GeV