#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 const int | l1a_type_ = 0xd0 |
Static Protected Attributes | |
static const std::uint64_t | event_type_mask_ = 0x0000ffff00000000 |
static unsigned const int | event_type_offset_ = 32 |
Static Protected Attributes inherited from rpcamc::Header | |
static const std::uint64_t | amc_number_mask_ = 0x0f00000000000000 |
static unsigned const int | amc_number_offset_ = 56 |
static const std::uint64_t | board_id_mask_ = 0x000000000000ffff |
static unsigned const int | board_id_offset_ = 0 |
static const std::uint64_t | bx_counter_mask_ = 0x00000000fff00000 |
static unsigned const int | bx_counter_offset_ = 20 |
static const std::uint64_t | data_length_mask_ = 0x00000000000fffff |
static unsigned const int | data_length_offset_ = 0 |
static const std::uint64_t | event_counter_mask_ = 0x00ffffff00000000 |
static unsigned const int | event_counter_offset_ = 32 |
static const std::uint64_t | orbit_counter_mask_ = 0x00000000ffff0000 |
static unsigned const int | 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.
Header::Header | ( | ) |
Definition at line 5 of file RPCMP7Record.cc.
References event_type_offset_, l1a_type_, and rpcamc::Header::record_.
Header::Header | ( | std::uint64_t const | record[2] | ) |
Definition at line 10 of file RPCMP7Record.cc.
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_ |
||
) |
|
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().