Jet Et calibration LUT. More...
#include <L1GctJetEtCalibrationLut.h>
Public Member Functions | |
unsigned | etaBin () const |
const L1GctJetFinderParams * | getFunction () const |
const L1CaloEtScale * | getOutputEtScale () const |
L1GctJetEtCalibrationLut () | |
void | setEtaBin (const unsigned eta) |
void | setFunction (const L1GctJetFinderParams *const lutfn) |
void | setOutputEtScale (const L1CaloEtScale *const scale) |
~L1GctJetEtCalibrationLut () override | |
Public Member Functions inherited from L1GctLut< 11, 6 > | |
uint16_t | lutValue (const uint16_t lutAddress) const |
Access the look-up table contents for a given Address. More... | |
int | operator!= (const L1GctLut< KAddressBits, KDataBits > &rhsLut) const |
Inequality check between look-up tables. More... | |
int | operator== (const L1GctLut< KAddressBits, KDataBits > &rhsLut) const |
Equality check between look-up tables. More... | |
uint16_t | operator[] (const uint16_t lutAddress) const |
Access the look-up table contents for a given Address. More... | |
void | setTerse () |
bool | setupOk () |
void | setVerbose () |
control output messages More... | |
virtual | ~L1GctLut () |
Static Public Attributes | |
static const unsigned | JET_ENERGY_BITWIDTH = 10 |
Input bitwidth of jet energy; must be 10 or more. More... | |
static const int | NAddress = 11 |
static const int | NData = 6 |
Static Public Attributes inherited from L1GctLut< 11, 6 > | |
static const uint16_t | MAX_ADDRESS_BITMASK |
static const uint16_t | MAX_DATA_BITMASK |
Protected Member Functions | |
uint16_t | value (const uint16_t lutAddress) const override |
Protected Member Functions inherited from L1GctLut< 11, 6 > | |
bool | equalityCheck (const L1GctLut< KAddressBits, KDataBits > &c) const |
L1GctLut () | |
Private Attributes | |
uint8_t | m_etaBin |
const L1GctJetFinderParams * | m_lutFunction |
const L1CaloEtScale * | m_outputEtScale |
Friends | |
std::ostream & | operator<< (std::ostream &os, const L1GctJetEtCalibrationLut &lut) |
Overload << operator. More... | |
Additional Inherited Members | |
Protected Attributes inherited from L1GctLut< 11, 6 > | |
bool | m_setupOk |
bool | m_verbose |
Jet Et calibration LUT.
Input is 10 bit Et and tau veto bit. Separate LUTs for different eta. Output is 6 bit rank (for jet sorting).
Modified March 2007 to remove the actual calculation to a separate class Modified October 2008 to have separate LUTs for each eta, as in the firmware
Definition at line 28 of file L1GctJetEtCalibrationLut.h.
L1GctJetEtCalibrationLut::L1GctJetEtCalibrationLut | ( | ) |
Definition at line 12 of file L1GctJetEtCalibrationLut.cc.
|
override |
Definition at line 14 of file L1GctJetEtCalibrationLut.cc.
|
inline |
Definition at line 45 of file L1GctJetEtCalibrationLut.h.
References m_etaBin.
Referenced by operator<<(), and value().
|
inline |
Definition at line 43 of file L1GctJetEtCalibrationLut.h.
References m_lutFunction.
Referenced by operator<<().
|
inline |
void L1GctJetEtCalibrationLut::setEtaBin | ( | const unsigned | eta | ) |
Definition at line 23 of file L1GctJetEtCalibrationLut.cc.
References PVValHelper::eta, and m_etaBin.
void L1GctJetEtCalibrationLut::setFunction | ( | const L1GctJetFinderParams *const | lutfn | ) |
Definition at line 16 of file L1GctJetEtCalibrationLut.cc.
References m_lutFunction, and L1GctLut< 11, 6 >::m_setupOk.
void L1GctJetEtCalibrationLut::setOutputEtScale | ( | const L1CaloEtScale *const | scale | ) |
Definition at line 21 of file L1GctJetEtCalibrationLut.cc.
References m_outputEtScale, and L1EGammaCrystalsEmulatorProducer_cfi::scale.
|
overrideprotectedvirtual |
Implements L1GctLut< 11, 6 >.
Definition at line 29 of file L1GctJetEtCalibrationLut.cc.
References L1GctJetFinderParams::correctedEtGeV(), etaBin(), JET_ENERGY_BITWIDTH, L1CaloEtScale::linearLsb(), m_lutFunction, m_outputEtScale, and L1CaloEtScale::rank().
Referenced by average.Average::average().
|
friend |
Overload << operator.
Definition at line 46 of file L1GctJetEtCalibrationLut.cc.
|
static |
Input bitwidth of jet energy; must be 10 or more.
Definition at line 32 of file L1GctJetEtCalibrationLut.h.
Referenced by L1GctJet::lutValue(), and value().
|
private |
Definition at line 57 of file L1GctJetEtCalibrationLut.h.
Referenced by etaBin(), and setEtaBin().
|
private |
Definition at line 54 of file L1GctJetEtCalibrationLut.h.
Referenced by getFunction(), setFunction(), and value().
|
private |
Definition at line 55 of file L1GctJetEtCalibrationLut.h.
Referenced by getOutputEtScale(), setOutputEtScale(), and value().
|
static |
Definition at line 30 of file L1GctJetEtCalibrationLut.h.
|
static |
Definition at line 31 of file L1GctJetEtCalibrationLut.h.