#include <AMC13Spec.h>
Public Member Functions | |
bool | check () const |
unsigned int | getFormatVersion () const |
unsigned int | getNumberOfAMCs () const |
unsigned int | getOrbitNumber () const |
Header () | |
Header (const uint64_t *data) | |
Header (unsigned int namc, unsigned int orbit) | |
uint64_t | raw () const |
Private Attributes | |
uint64_t | data_ |
Static Private Attributes | |
static const unsigned int | fov = 1 |
static const unsigned int | max_amc = 12 |
static const unsigned int | nAMC_mask = 0xf |
static const unsigned int | nAMC_shift = 52 |
static const unsigned int | OrN_mask = 0xffffffff |
static const unsigned int | OrN_shift = 4 |
static const unsigned int | uFOV_mask = 0xf |
static const unsigned int | uFOV_shift = 60 |
Definition at line 15 of file AMC13Spec.h.
|
inline |
Definition at line 17 of file AMC13Spec.h.
|
inline |
Definition at line 18 of file AMC13Spec.h.
Header::Header | ( | unsigned int | namc, |
unsigned int | orbit | ||
) |
Definition at line 13 of file AMC13Spec.cc.
References data_, fov, nAMC_mask, nAMC_shift, OrN_mask, OrN_shift, uFOV_mask, and uFOV_shift.
bool Header::check | ( | void | ) | const |
Definition at line 22 of file AMC13Spec.cc.
References fov, getFormatVersion(), getNumberOfAMCs(), and max_amc.
Referenced by amc13::Packet::parse().
|
inline |
Definition at line 24 of file AMC13Spec.h.
References data_, uFOV_mask, and uFOV_shift.
Referenced by check(), and amc13::Packet::parse().
|
inline |
Definition at line 25 of file AMC13Spec.h.
References data_, nAMC_mask, and nAMC_shift.
Referenced by check(), and amc13::Packet::parse().
|
inline |
|
inline |
|
private |
Definition at line 39 of file AMC13Spec.h.
Referenced by getFormatVersion(), getNumberOfAMCs(), getOrbitNumber(), Header(), and raw().
|
staticprivate |
Definition at line 36 of file AMC13Spec.h.
|
staticprivate |
Definition at line 37 of file AMC13Spec.h.
Referenced by check().
|
staticprivate |
Definition at line 32 of file AMC13Spec.h.
Referenced by getNumberOfAMCs(), and Header().
|
staticprivate |
Definition at line 31 of file AMC13Spec.h.
Referenced by getNumberOfAMCs(), and Header().
|
staticprivate |
Definition at line 34 of file AMC13Spec.h.
Referenced by getOrbitNumber(), and Header().
|
staticprivate |
Definition at line 33 of file AMC13Spec.h.
Referenced by getOrbitNumber(), and Header().
|
staticprivate |
Definition at line 30 of file AMC13Spec.h.
Referenced by getFormatVersion(), and Header().
|
staticprivate |
Definition at line 29 of file AMC13Spec.h.
Referenced by getFormatVersion(), and Header().