#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 |
amc::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 66 of file AMCSpec.cc.
|
inline |
Definition at line 71 of file AMCSpec.h.
References AmcNo_mask, AmcNo_shift, and data0_.
Referenced by omtf::OmtfUnpacker::produce().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 76 of file AMCSpec.h.
References data0_, Size_mask, and Size_shift.
Referenced by amc::Packet::finalize().
|
inline |
Definition at line 77 of file AMCSpec.h.
References data1_, User_mask, and User_shift.
Referenced by l1t::CTP7Payload::CTP7Payload().
|
inline |
Definition at line 79 of file AMCSpec.h.
References data0_, and data1_.
Referenced by amc::Packet::Packet(), and omtf::OmtfUnpacker::produce().
|
staticprivate |
Definition at line 89 of file AMCSpec.h.
Referenced by getAMCNumber().
|
staticprivate |
Definition at line 88 of file AMCSpec.h.
Referenced by getAMCNumber().
|
staticprivate |
Definition at line 92 of file AMCSpec.h.
Referenced by getBoardID().
|
staticprivate |
Definition at line 91 of file AMCSpec.h.
Referenced by getBoardID().
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 98 of file AMCSpec.h.
Referenced by getAMCNumber(), getBX(), getLV1ID(), getSize(), and raw().
|
private |
Definition at line 99 of file AMCSpec.h.
Referenced by getBoardID(), getOrbitNumber(), getUserData(), and raw().
|
staticprivate |
Definition at line 87 of file AMCSpec.h.
Referenced by getLV1ID().
|
staticprivate |
Definition at line 86 of file AMCSpec.h.
Referenced by getLV1ID().
|
staticprivate |
Definition at line 94 of file AMCSpec.h.
Referenced by getOrbitNumber().
|
staticprivate |
Definition at line 93 of file AMCSpec.h.
Referenced by getOrbitNumber().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 96 of file AMCSpec.h.
Referenced by getUserData().
|
staticprivate |
Definition at line 95 of file AMCSpec.h.
Referenced by getUserData().