1 #ifndef L1RCTLookupTables_h 2 #define L1RCTLookupTables_h 47 unsigned int lookup(
unsigned short ecalInput,
unsigned short hcalInput,
48 unsigned short fgbit,
unsigned short crtNo,
49 unsigned short crdNo,
unsigned short twrNo)
const;
51 unsigned int lookup(
unsigned short hfInput,
unsigned short crtNo,
52 unsigned short crdNo,
unsigned short twrNo)
const;
54 unsigned int emRank(
unsigned short energy)
const;
56 unsigned int jetMETETCode(
float ecal,
float hcal,
int iAbsEta)
const;
57 bool hOeFGVetoBit(
float ecal,
float hcal,
bool fgbit)
const;
63 float convertEcal(
unsigned short ecal,
unsigned short iAbsEta,
65 float convertHcal(
unsigned short hcal,
unsigned short iAbsEta,
bool hOeFGVetoBit(float ecal, float hcal, bool fgbit) const
const L1RCTChannelMask * channelMask_
unsigned int eGammaETCode(float ecal, float hcal, int iAbsEta) const
unsigned int jetMETETCode(float ecal, float hcal, int iAbsEta) const
unsigned long convertToInteger(float et, float lsb, int precision) const
const L1RCTNoisyChannelMask * noisyChannelMask_
void setHcalScale(const L1CaloHcalScale *hcalScale)
float convertHcal(unsigned short hcal, unsigned short iAbsEta, short sign) const
unsigned int emRank(unsigned short energy) const
const L1CaloEcalScale * ecalScale_
void setL1CaloEtScale(const L1CaloEtScale *etScale)
const L1RCTParameters * rctParameters_
bool activityBit(float ecal, float hcal) const
const L1RCTParameters * rctParameters() const
void setEcalScale(const L1CaloEcalScale *ecalScale)
et
define resolution functions of each parameter
void setRCTParameters(const L1RCTParameters *rctParameters)
void setNoisyChannelMask(const L1RCTNoisyChannelMask *channelMask)
float convertEcal(unsigned short ecal, unsigned short iAbsEta, short sign) const
const L1CaloHcalScale * hcalScale_
const L1CaloEtScale * etScale_
void setChannelMask(const L1RCTChannelMask *channelMask)
unsigned int lookup(unsigned short ecalInput, unsigned short hcalInput, unsigned short fgbit, unsigned short crtNo, unsigned short crdNo, unsigned short twrNo) const