#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 |
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 71 of file AMCSpec.h.
References data0_, Size_mask, and Size_shift.
Referenced by amc::Packet::finalize().
|
inline |
|
inline |
Definition at line 74 of file AMCSpec.h.
References data0_, and data1_.
Referenced by amc::Packet::Packet().
|
staticprivate |
Definition at line 84 of file AMCSpec.h.
Referenced by getAMCNumber().
|
staticprivate |
Definition at line 83 of file AMCSpec.h.
Referenced by getAMCNumber().
|
staticprivate |
Definition at line 87 of file AMCSpec.h.
Referenced by getBoardID().
|
staticprivate |
Definition at line 86 of file AMCSpec.h.
Referenced by getBoardID().
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 93 of file AMCSpec.h.
Referenced by getAMCNumber(), getBX(), getLV1ID(), getSize(), and raw().
|
private |
Definition at line 94 of file AMCSpec.h.
Referenced by getBoardID(), getOrbitNumber(), getUserData(), and raw().
|
staticprivate |
Definition at line 82 of file AMCSpec.h.
Referenced by getLV1ID().
|
staticprivate |
Definition at line 81 of file AMCSpec.h.
Referenced by getLV1ID().
|
staticprivate |
Definition at line 89 of file AMCSpec.h.
Referenced by getOrbitNumber().
|
staticprivate |
Definition at line 88 of file AMCSpec.h.
Referenced by getOrbitNumber().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 91 of file AMCSpec.h.
Referenced by getUserData().
|
staticprivate |
Definition at line 90 of file AMCSpec.h.
Referenced by getUserData().