ATLAS Offline Software
|
LAr supercell data are received by the eFEX in a 10-bit multi-linear encoded form. More...
#include <eFEXCompression.h>
Static Public Member Functions | |
static unsigned int | compress (int Et) |
Compress data. More... | |
static int | expand (unsigned int code) |
Uncompress data. More... | |
static unsigned int | threshold (unsigned int code, int threshold=-800) |
Apply threshold to compressed data. More... | |
static bool | noiseCut (unsigned int code, int layer, bool ignoreDisable=false) |
Apply supercell noise cut. More... | |
static int | decode (int EtVal, int layer, bool ignoreDisable=false) |
Full sequence. More... | |
Static Public Attributes | |
static std::atomic< bool > | s_disableNoiseCuts = false |
Static Private Attributes | |
static const int | s_maxET = 144800 |
Maximum ET value that can be encoded. More... | |
static const unsigned int | s_nRanges = 4 |
Number of ranges. More... | |
static const int | s_steps [s_nRanges] = {25, 50, 100, 400} |
Step sizes in each range, MeV. More... | |
static const int | s_minET [s_nRanges] = {-750, 5600, 18400, 44000} |
Minimum ET values in each range, MeV. More... | |
static const int | s_minCode [s_nRanges] = {2, 256, 512, 768} |
Minimum code value in each range. More... | |
static const int | s_NoData = 0 |
Indicates no data present. More... | |
static const unsigned int | s_LArUnderflow = 1 |
LAr underflow code. More... | |
static const unsigned int | s_LArOverflow = 1020 |
LAr overflow code. More... | |
static const unsigned int | s_LArReserved = 1021 |
Reserved code value. More... | |
static const unsigned int | s_LArInvalid = 1022 |
Invalid code value. More... | |
static const unsigned int | s_LArSaturated = 1023 |
LAr saturated code. More... | |
static const unsigned int | s_LArMaxCode = 1023 |
Maximum code value. More... | |
static const unsigned int | s_eFEXstep = 25 |
L1Calo ET digit step. More... | |
static const unsigned int | s_eFEXOverflow = 0xffff |
L1Calo saturated/overflow. More... | |
static const int | s_error = -999 |
Error return value. More... | |
static const unsigned int | m_noisecutPS = 64 |
Noise Cuts per layer. More... | |
static const unsigned int | m_noisecutL1 = 48 |
static const unsigned int | m_noisecutL2 = 48 |
static const unsigned int | m_noisecutL3 = 48 |
static const unsigned int | m_noisecutHad = 48 |
LAr supercell data are received by the eFEX in a 10-bit multi-linear encoded form.
This simple utility class contains 3 functions:
Definition at line 40 of file eFEXCompression.h.
|
static |
|
static |
Full sequence.
Check if noise cut is passed
Expand the ET value
Convert to eFEX digit scale: 25 MeV
Definition at line 118 of file eFEXCompression.cxx.
|
static |
Uncompress data.
Now expand code into an ET value. Start by finding what range the code is in
Now expand the value
Definition at line 55 of file eFEXCompression.cxx.
|
static |
|
static |
Apply threshold to compressed data.
Convert threshold into a compressed code
Zero code if < threshold
Definition at line 107 of file eFEXCompression.cxx.
|
staticprivate |
Definition at line 97 of file eFEXCompression.h.
|
staticprivate |
Definition at line 94 of file eFEXCompression.h.
|
staticprivate |
Definition at line 95 of file eFEXCompression.h.
|
staticprivate |
Definition at line 96 of file eFEXCompression.h.
|
staticprivate |
Noise Cuts per layer.
Definition at line 93 of file eFEXCompression.h.
|
static |
Definition at line 59 of file eFEXCompression.h.
|
staticprivate |
L1Calo saturated/overflow.
Definition at line 89 of file eFEXCompression.h.
|
staticprivate |
L1Calo ET digit step.
Definition at line 87 of file eFEXCompression.h.
|
staticprivate |
Error return value.
Definition at line 91 of file eFEXCompression.h.
|
staticprivate |
Invalid code value.
Definition at line 81 of file eFEXCompression.h.
|
staticprivate |
Maximum code value.
Definition at line 85 of file eFEXCompression.h.
|
staticprivate |
LAr overflow code.
Definition at line 77 of file eFEXCompression.h.
|
staticprivate |
Reserved code value.
Definition at line 79 of file eFEXCompression.h.
|
staticprivate |
LAr saturated code.
Definition at line 83 of file eFEXCompression.h.
|
staticprivate |
LAr underflow code.
Definition at line 75 of file eFEXCompression.h.
|
staticprivate |
Maximum ET value that can be encoded.
Definition at line 63 of file eFEXCompression.h.
|
staticprivate |
Minimum code value in each range.
Definition at line 71 of file eFEXCompression.h.
|
staticprivate |
Minimum ET values in each range, MeV.
Definition at line 69 of file eFEXCompression.h.
|
staticprivate |
Indicates no data present.
Definition at line 73 of file eFEXCompression.h.
|
staticprivate |
Number of ranges.
Definition at line 65 of file eFEXCompression.h.
|
staticprivate |
Step sizes in each range, MeV.
Definition at line 67 of file eFEXCompression.h.