|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef gFEXCompression_H
11 #define gFEXCompression_H
static const unsigned int s_nRanges
Number of ranges.
static const int s_minET[s_nRanges]
Minimum ET values in each range, MeV.
static const int s_maxET
Maximum ET value that can be encoded.
static const unsigned int s_LArMaxCode
LAr saturated code.
std::vector< double > Energy
static unsigned int compress(float Energy)
Compress data.
static const unsigned int s_LArUnderflow
LAr underflow code.
static const unsigned int s_LArReserved_min
Reserved code min value.
static unsigned int linearize(unsigned int code, int threshold=0)
Linearize LAr code to eFEX internal format.
static const unsigned int s_gFEXOverflow
L1Calo saturated/overflow.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
static const unsigned int s_LArOverflow
LAr overflow code.
static const unsigned int s_gFEXstep
L1Calo ET digit step.
static int expand(unsigned int code)
Uncompress data.
static unsigned int threshold(unsigned int code, int threshold=-101200)
Apply threshold to compressed data.
static const int s_error
Error return value.
static const int s_NoData
Indicates no data present.
static const int s_minCode[s_nRanges]
Minimum code value in each range.
static const unsigned int s_LArInvalid
Invalid code value.
static const unsigned int s_LArReserved_max
Reserved code max value.
LAr supercell data are received by the gFEX in a 10-bit multi-linear encoded form.
static const int s_steps[s_nRanges]
Step sizes in each range, MeV.