#include <AMCSpec.h>
Public Member Functions | |
unsigned int | getBlock () const |
unsigned int | getBX () const |
unsigned int | getCRC () const |
unsigned int | getLV1ID () const |
uint64_t | raw () const |
Trailer (const uint64_t *data) | |
Trailer (unsigned int crc, unsigned int blk, unsigned int lv1, unsigned int bx) | |
Private Attributes | |
uint64_t | data_ |
Static Private Attributes | |
static const unsigned int | BlkNo_mask = 0xff |
static const unsigned int | BlkNo_shift = 20 |
static const unsigned int | BX_mask = 0xfff |
static const unsigned int | BX_shift = 0 |
static const unsigned int | CRC_mask = 0xffffffff |
static const unsigned int | CRC_shift = 32 |
static const unsigned int | LV1_mask = 0xff |
static const unsigned int | LV1_shift = 12 |
amc13::Trailer::Trailer | ( | unsigned int | crc, |
unsigned int | blk, | ||
unsigned int | lv1, | ||
unsigned int | bx | ||
) |
Definition at line 123 of file AMCSpec.cc.
References BlkNo_mask, BlkNo_shift, BX_mask, BX_shift, CRC_mask, CRC_shift, data_, LV1_mask, and LV1_shift.
|
inline |
Definition at line 111 of file AMCSpec.h.
References BlkNo_mask, BlkNo_shift, and data_.
Referenced by amc13::Packet::parse().
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprivate |
Definition at line 121 of file AMCSpec.h.
Referenced by getBlock(), and Trailer().
|
staticprivate |
Definition at line 120 of file AMCSpec.h.
Referenced by getBlock(), and Trailer().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 127 of file AMCSpec.h.
Referenced by getBlock(), getBX(), getCRC(), getLV1ID(), raw(), and Trailer().
|
staticprivate |
Definition at line 123 of file AMCSpec.h.
Referenced by getLV1ID(), and Trailer().
|
staticprivate |
Definition at line 122 of file AMCSpec.h.
Referenced by getLV1ID(), and Trailer().