ATLAS Offline Software
|
L1Calo User Header class. More...
#include <ZdcL1CaloUserHeader.h>
Public Member Functions | |
ZdcL1CaloUserHeader (uint32_t header=0xf0000001) | |
Constructor - default just sets word ID and number of header words. More... | |
uint32_t | header () const |
Return packed header. More... | |
int | words () const |
Return number of header words (should be one) More... | |
int | jepCmm () const |
int | cpCmm () const |
int | jem () const |
int | cpm () const |
int | ppmLut () const |
int | ppmFadc () const |
int | lowerBound () const |
Return FADC lower bound. More... | |
void | setJepCmm (int offset) |
void | setCpCmm (int offset) |
void | setJem (int offset) |
void | setCpm (int offset) |
void | setPpmLut (int offset) |
void | setPpmFadc (int offset) |
void | setLowerBound (int bound) |
Set FADC lower bound. More... | |
void | setVersion (int minorVersion) |
Set version flag. More... | |
Static Public Member Functions | |
static bool | isValid (uint32_t word) |
Test for valid header word. More... | |
Private Attributes | |
uint32_t | m_header |
Packed Header. More... | |
bool | m_version2 |
Version flag. More... | |
Static Private Attributes | |
static const int | s_wordIdBit = 28 |
static const int | s_jepCmmBit = 24 |
static const int | s_cpCmmBit = 20 |
static const int | s_jemBit = 16 |
static const int | s_cpmBit = 12 |
static const int | s_ppmLutBit = 8 |
static const int | s_ppmFadcBit = 4 |
static const int | s_lowerBoundBit = 20 |
static const int | s_ppmLutBitV2 = 9 |
static const int | s_ppmFadcBitV2 = 4 |
static const uint32_t | s_mask = 0xf |
Field mask. More... | |
static const uint32_t | s_lowerBoundMask = 0xff |
static const uint32_t | s_ppmLutMaskV2 = 0x7 |
static const uint32_t | s_ppmFadcMaskV2 = 0x1f |
static const int | s_version1 = 0x1001 |
Version 1 minor format version number. More... | |
L1Calo User Header class.
The User Header is the first word of the ROD data and contains Triggered slice offsets for all the sub-detector types.
Definition at line 20 of file ZdcL1CaloUserHeader.h.
ZdcL1CaloUserHeader::ZdcL1CaloUserHeader | ( | uint32_t | header = 0xf0000001 | ) |
Constructor - default just sets word ID and number of header words.
|
inline |
Definition at line 105 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 116 of file ZdcL1CaloUserHeader.h.
|
inline |
Return packed header.
Definition at line 89 of file ZdcL1CaloUserHeader.h.
|
static |
Test for valid header word.
|
inline |
Definition at line 111 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 99 of file ZdcL1CaloUserHeader.h.
|
inline |
Return FADC lower bound.
Definition at line 133 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 127 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 121 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 144 of file ZdcL1CaloUserHeader.h.
|
inline |
|
inline |
|
inline |
Definition at line 139 of file ZdcL1CaloUserHeader.h.
|
inline |
Set FADC lower bound.
Definition at line 171 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 165 of file ZdcL1CaloUserHeader.h.
|
inline |
Definition at line 159 of file ZdcL1CaloUserHeader.h.
|
inline |
Set version flag.
Definition at line 176 of file ZdcL1CaloUserHeader.h.
|
inline |
Return number of header words (should be one)
Definition at line 94 of file ZdcL1CaloUserHeader.h.
|
private |
Packed Header.
Definition at line 83 of file ZdcL1CaloUserHeader.h.
|
private |
Version flag.
Definition at line 85 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 65 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 67 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 66 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 64 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 71 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 77 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Field mask.
Definition at line 75 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 69 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 73 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 79 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 68 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 72 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 78 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Version 1 minor format version number.
Definition at line 81 of file ZdcL1CaloUserHeader.h.
|
staticprivate |
Definition at line 63 of file ZdcL1CaloUserHeader.h.