#include <AMCSpec.h>
Public Member Functions | |
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 |
bool | valid () |
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 |
Header::Header | ( | unsigned int | namc, |
unsigned int | orbit | ||
) |
Definition at line 109 of file AMCSpec.cc.
References data_, fov, nAMC_mask, nAMC_shift, OrN_mask, OrN_shift, uFOV_mask, and uFOV_shift.
|
inline |
Definition at line 87 of file AMCSpec.h.
References data_, uFOV_mask, and uFOV_shift.
Referenced by amc13::Packet::parse(), and valid().
|
inline |
Definition at line 88 of file AMCSpec.h.
References data_, nAMC_mask, and nAMC_shift.
Referenced by amc13::Packet::parse(), and valid().
|
inline |
|
inline |
bool Header::valid | ( | ) |
Definition at line 118 of file AMCSpec.cc.
References fov, getFormatVersion(), getNumberOfAMCs(), and max_amc.
Referenced by amc13::Packet::parse().
|
private |
Definition at line 102 of file AMCSpec.h.
Referenced by getFormatVersion(), getNumberOfAMCs(), getOrbitNumber(), Header(), and raw().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 95 of file AMCSpec.h.
Referenced by getNumberOfAMCs(), and Header().
|
staticprivate |
Definition at line 94 of file AMCSpec.h.
Referenced by getNumberOfAMCs(), and Header().
|
staticprivate |
Definition at line 97 of file AMCSpec.h.
Referenced by getOrbitNumber(), and Header().
|
staticprivate |
Definition at line 96 of file AMCSpec.h.
Referenced by getOrbitNumber(), and Header().
|
staticprivate |
Definition at line 93 of file AMCSpec.h.
Referenced by getFormatVersion(), and Header().
|
staticprivate |
Definition at line 92 of file AMCSpec.h.
Referenced by getFormatVersion(), and Header().