#include <RPCMP7Record.h>
Public Member Functions | |
unsigned int | getEventType () const |
Header () | |
Header (std::uint64_t const record[2]) | |
Header (unsigned int amc_number, unsigned int event_counter, unsigned int bx_counter, unsigned int data_length, unsigned int orbit_counter, unsigned int board_id, unsigned int event_type=l1a_type_) | |
void | reset () override |
void | setEventType (unsigned int event_type) |
~Header () override | |
Public Member Functions inherited from rpcamc::Header | |
unsigned int | getAMCNumber () const |
unsigned int | getBoardId () const |
unsigned int | getBXCounter () const |
unsigned int | getDataLength () const |
unsigned int | getEventCounter () const |
unsigned int | getOrbitCounter () const |
std::uint64_t const * | getRecord () const |
bool | hasDataLength () const |
Header () | |
Header (std::uint64_t const record[2]) | |
Header (unsigned int amc_number, unsigned int event_counter, unsigned int bx_counter, unsigned int data_length, unsigned int orbit_counter, unsigned int board_id) | |
void | set (unsigned int nword, std::uint64_t const word) |
void | setAMCNumber (unsigned int amc_number) |
void | setBoardId (unsigned int board_id) |
void | setBXCounter (unsigned int bx_counter) |
void | setDataLength (unsigned int data_length) |
void | setEventCounter (unsigned int event_counter) |
void | setOrbitCounter (unsigned int orbit_counter) |
Static Public Attributes | |
static unsigned int const | l1a_type_ = 0xd0 |
Static Protected Attributes | |
static std::uint64_t const | event_type_mask_ = 0x0000ffff00000000 |
static unsigned int const | event_type_offset_ = 32 |
Static Protected Attributes inherited from rpcamc::Header | |
static std::uint64_t const | amc_number_mask_ = 0x0f00000000000000 |
static unsigned int const | amc_number_offset_ = 56 |
static std::uint64_t const | board_id_mask_ = 0x000000000000ffff |
static unsigned int const | board_id_offset_ = 0 |
static std::uint64_t const | bx_counter_mask_ = 0x00000000fff00000 |
static unsigned int const | bx_counter_offset_ = 20 |
static std::uint64_t const | data_length_mask_ = 0x00000000000fffff |
static unsigned int const | data_length_offset_ = 0 |
static std::uint64_t const | event_counter_mask_ = 0x00ffffff00000000 |
static unsigned int const | event_counter_offset_ = 32 |
static std::uint64_t const | orbit_counter_mask_ = 0x00000000ffff0000 |
static unsigned int const | orbit_counter_offset_ = 16 |
Additional Inherited Members | |
Protected Attributes inherited from rpcamc::Header | |
std::uint64_t | record_ [2] |
Definition at line 10 of file RPCMP7Record.h.
rpcmp7::Header::Header | ( | ) |
Definition at line 5 of file RPCMP7Record.cc.
References event_type_offset_, l1a_type_, and rpcamc::Header::record_.
rpcmp7::Header::Header | ( | std::uint64_t const | record[2] | ) |
Definition at line 10 of file RPCMP7Record.cc.
rpcmp7::Header::Header | ( | unsigned int | amc_number, |
unsigned int | event_counter, | ||
unsigned int | bx_counter, | ||
unsigned int | data_length, | ||
unsigned int | orbit_counter, | ||
unsigned int | board_id, | ||
unsigned int | event_type = l1a_type_ |
||
) |
Definition at line 12 of file RPCMP7Record.cc.
References setEventType().
|
overridevirtual |
unsigned int rpcmp7::Header::getEventType | ( | ) | const |
|
overridevirtual |
Reimplemented from rpcamc::Header.
void rpcmp7::Header::setEventType | ( | unsigned int | event_type | ) |
Referenced by Header().
|
staticprotected |
Definition at line 16 of file RPCMP7Record.h.
|
staticprotected |
Definition at line 17 of file RPCMP7Record.h.
Referenced by Header().
|
static |
Definition at line 12 of file RPCMP7Record.h.
Referenced by Header().