|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   12  #ifndef jFEXCompression_H 
   13  #define jFEXCompression_H 
   30 class jFEXCompression {
 
   34   static unsigned int Compress(
float floatEt, 
bool empty = 
false);
 
   44   static const int s_maxET = 800000;
 
  
static const unsigned int s_LArMaxCode
Maximum code value, values 4049 to 4094 reserved.
static const unsigned int s_LArUnderflow
LAr underflow code.
static const int s_error
Error return value.
static const unsigned int s_nRanges
Number of ranges.
static const unsigned int s_jFEXOverflow
L1Calo saturated/overflow.
static const unsigned int s_LArOverflow
LAr overflow code.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
static const int s_NoData
Indicates no data present.
static int Expand(unsigned int code)
Uncompress data.
static const int s_minET[s_nRanges]
Minimum ET values in each range, MeV.
static unsigned int Compress(float floatEt, bool empty=false)
Compress data.
static const int s_maxET
Maximum ET value that can be encoded.
static const unsigned int s_LArInvalid
Invalid code value.
static unsigned int Threshold(unsigned int code, int threshold=-800)
Apply threshold to compressed data.
static unsigned int Linearize(unsigned int code, int threshold=0)
Linearize LAr code to jFEX internal format.
static const int s_minCode[s_nRanges]
Minimum code value in each range.
static const unsigned int s_jFEXstep
L1Calo ET digit step.
static const int s_steps[s_nRanges]
Step sizes in each range, MeV.