|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef eFEXCompression_H
13 #define eFEXCompression_H
35 class eFEXCompression {
39 static unsigned int compress(
int Et);
47 static int decode(
int EtVal,
int layer,
bool ignoreDisable =
false);
53 static const int s_maxET = 144800;
static const unsigned int m_noisecutHad
static const int s_maxET
Maximum ET value that can be encoded.
static const unsigned int s_nRanges
Number of ranges.
static unsigned int compress(int Et)
Compress data.
static const unsigned int s_eFEXstep
L1Calo ET digit step.
static int expand(unsigned int code)
Uncompress data.
static const unsigned int m_noisecutL2
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
static bool noiseCut(unsigned int code, int layer, bool ignoreDisable=false)
Apply supercell noise cut.
static const int s_minET[s_nRanges]
Minimum ET values in each range, MeV.
static std::atomic< bool > s_disableNoiseCuts
static unsigned int threshold(unsigned int code, int threshold=-800)
Apply threshold to compressed data.
static const unsigned int m_noisecutL3
static const unsigned int s_LArOverflow
LAr overflow code.
static const int s_NoData
Indicates no data present.
static const unsigned int m_noisecutL1
static const unsigned int s_LArUnderflow
LAr underflow code.
static const unsigned int s_LArInvalid
Invalid code value.
static int decode(int EtVal, int layer, bool ignoreDisable=false)
Full sequence.
static const unsigned int s_LArSaturated
LAr saturated code.
static const int s_steps[s_nRanges]
Step sizes in each range, MeV.
static const unsigned int s_eFEXOverflow
L1Calo saturated/overflow.
static const unsigned int s_LArReserved
Reserved code value.
static const unsigned int s_LArMaxCode
Maximum code value.
static const int s_error
Error return value.
static const unsigned int m_noisecutPS
Noise Cuts per layer.
static const int s_minCode[s_nRanges]
Minimum code value in each range.