ATLAS Offline Software
|
QuadLinear encoding is used for transmission of ET/Ex/Ey sums from JEM to CMM. More...
#include <QuadLinear.h>
Static Public Member Functions | |
static unsigned int | Compress (int Et) |
Compress data. More... | |
static unsigned int | Expand (int Code) |
Uncompress data. More... | |
Static Private Attributes | |
static const unsigned int | m_mask = 0x3F |
Mask to select 6-bit field. More... | |
static const int | m_nRanges = 4 |
Number of ET ranges to encode in. More... | |
static const int | m_nShift = 2 |
Number of bits to shift by in each step. More... | |
static const int | m_Offset = 6 |
Offset for compression code. More... | |
QuadLinear encoding is used for transmission of ET/Ex/Ey sums from JEM to CMM.
This class compresses/uncompresses 8 bit ET (JEM energy sums) to/from quad linear scale
Definition at line 29 of file QuadLinear.h.
|
static |
|
static |
Uncompress data.
Definition at line 37 of file QuadLinear.cxx.
|
staticprivate |
Mask to select 6-bit field.
Definition at line 44 of file QuadLinear.h.
|
staticprivate |
Number of ET ranges to encode in.
Definition at line 46 of file QuadLinear.h.
|
staticprivate |
Number of bits to shift by in each step.
Definition at line 48 of file QuadLinear.h.
|
staticprivate |
Offset for compression code.
Definition at line 50 of file QuadLinear.h.