#include <AMCSpec.h>
Public Member Functions | |
unsigned int | getAMCNumber () const |
unsigned int | getBoardID () const |
unsigned int | getBX () const |
unsigned int | getLV1ID () const |
unsigned int | getOrbitNumber () const |
unsigned int | getSize () const |
unsigned int | getUserData () const |
Header () | |
Header (const uint64_t *data) | |
Header (unsigned int amc_no, unsigned int lv1_id, unsigned int bx_id, unsigned int size, unsigned int or_n, unsigned int board_id, unsigned int user) | |
std::vector< uint64_t > | raw () const |
Private Attributes | |
uint64_t | data0_ |
uint64_t | data1_ |
Static Private Attributes | |
static const unsigned int | AmcNo_mask = 0xf |
static const unsigned int | AmcNo_shift = 56 |
static const unsigned int | BoardID_mask = 0xffff |
static const unsigned int | BoardID_shift = 0 |
static const unsigned int | BX_mask = 0xfff |
static const unsigned int | BX_shift = 20 |
static const unsigned int | LV1ID_mask = 0xffffff |
static const unsigned int | LV1ID_shift = 32 |
static const unsigned int | OrN_mask = 0xffff |
static const unsigned int | OrN_shift = 16 |
static const unsigned int | Size_mask = 0xfffff |
static const unsigned int | Size_shift = 0 |
static const unsigned int | User_mask = 0xffffffff |
static const unsigned int | User_shift = 32 |
|
inline |
Header::Header | ( | unsigned int | amc_no, |
unsigned int | lv1_id, | ||
unsigned int | bx_id, | ||
unsigned int | size, | ||
unsigned int | or_n, | ||
unsigned int | board_id, | ||
unsigned int | user | ||
) |
Definition at line 76 of file AMCSpec.cc.
|
inline |
Definition at line 66 of file AMCSpec.h.
References amc::BlockHeader::AmcNo_mask, and amc::BlockHeader::AmcNo_shift.
|
inline |
Definition at line 67 of file AMCSpec.h.
References amc::BlockHeader::BoardID_mask, and amc::BlockHeader::BoardID_shift.
|
inline |
Definition at line 71 of file AMCSpec.h.
References amc::BlockHeader::Size_mask, and amc::BlockHeader::Size_shift.
Referenced by amc::Packet::finalize().
|
inline |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |