ATLAS Offline Software
|
L1Calo User Header class. More...
#include <ZdcUserHeader.h>
Public Member Functions | |
ZdcUserHeader (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 | ppmLut () const |
int | ppmFadc () const |
int | lowerBound () const |
Return FADC lower bound. More... | |
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_ppmLutBit = 8 |
ZdcUserHeader. More... | |
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.
This is a modifyed version to be used only by ZDC
TRY_LINK_LVL1
Marco Leite
Definition at line 24 of file ZdcUserHeader.h.
ZdcUserHeader::ZdcUserHeader | ( | uint32_t | header = 0xf0000001 | ) |
Constructor - default just sets word ID and number of header words.
Definition at line 36 of file ZdcUserHeader.cxx.
|
inline |
|
static |
Test for valid header word.
Definition at line 43 of file ZdcUserHeader.cxx.
|
inline |
Return FADC lower bound.
Definition at line 104 of file ZdcUserHeader.h.
|
inline |
Definition at line 98 of file ZdcUserHeader.h.
|
inline |
Definition at line 92 of file ZdcUserHeader.h.
|
inline |
Set FADC lower bound.
Definition at line 122 of file ZdcUserHeader.h.
|
inline |
Definition at line 116 of file ZdcUserHeader.h.
|
inline |
Definition at line 110 of file ZdcUserHeader.h.
|
inline |
Set version flag.
Definition at line 127 of file ZdcUserHeader.h.
|
inline |
Return number of header words (should be one)
Definition at line 86 of file ZdcUserHeader.h.
|
private |
Packed Header.
Definition at line 75 of file ZdcUserHeader.h.
|
private |
Version flag.
Definition at line 77 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 63 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 69 of file ZdcUserHeader.h.
|
staticprivate |
Field mask.
Definition at line 67 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 61 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 65 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 71 of file ZdcUserHeader.h.
|
staticprivate |
This should be called ZdcRodHeader..
TRY_LINK_LVL1
Marco Leite
Definition at line 60 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 64 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 70 of file ZdcUserHeader.h.
|
staticprivate |
Version 1 minor format version number.
Definition at line 73 of file ZdcUserHeader.h.
|
staticprivate |
Definition at line 59 of file ZdcUserHeader.h.