DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
FELIX frame. More...
#include <WIBFrame.hpp>
Public Member Functions | |
const WIBHeader * | get_wib_header () const |
WIBHeader * | get_wib_header () |
const ColdataHeader * | get_coldata_header (const unsigned block_index) const |
const ColdataBlock & | get_block (const uint8_t b) const |
void | set_wib_errors (const uint16_t new_wib_errors) |
void | set_timestamp (const uint64_t new_timestamp) |
uint64_t | get_timestamp () const |
uint16_t | get_channel (const uint8_t block_num, const uint8_t adc, const uint8_t ch) const |
uint16_t | get_channel (const uint8_t block_num, const uint8_t ch) const |
uint16_t | get_channel (const uint8_t ch) const |
void | set_channel (const uint8_t block_num, const uint8_t adc, const uint8_t ch, const uint16_t new_val) |
void | set_channel (const uint8_t block_num, const uint8_t ch, const uint16_t new_val) |
void | set_channel (const uint8_t ch, const uint16_t new_val) |
Static Public Attributes | |
static constexpr int | s_num_block_per_frame = 4 |
static constexpr int | s_num_ch_per_frame = s_num_block_per_frame * ColdataBlock::s_num_ch_per_block |
static constexpr int | s_num_frame_hdr_words = sizeof(WIBHeader) / sizeof(word_t) |
static constexpr int | s_num_COLDATA_hdr_words = sizeof(ColdataHeader) / sizeof(word_t) |
static constexpr int | s_num_COLDATA_words = sizeof(ColdataBlock) / sizeof(word_t) |
static constexpr int | s_num_frame_words = s_num_block_per_frame * s_num_COLDATA_words + s_num_frame_hdr_words |
static constexpr int | s_num_frame_bytes = s_num_frame_words * sizeof(word_t) |
Private Member Functions | |
void | throw_if_invalid_block_index_ (const int block_num) const |
Private Attributes | |
WIBHeader | m_head |
ColdataBlock | m_blocks [s_num_block_per_frame] |
Friends | |
std::ostream & | operator<< (std::ostream &o, WIBFrame const &frame) |
FELIX frame.
Definition at line 348 of file WIBFrame.hpp.
|
inline |
Definition at line 368 of file WIBFrame.hpp.
|
inline |
Definition at line 381 of file WIBFrame.hpp.
|
inline |
Definition at line 386 of file WIBFrame.hpp.
|
inline |
Definition at line 391 of file WIBFrame.hpp.
|
inline |
Definition at line 363 of file WIBFrame.hpp.
|
inline |
Definition at line 378 of file WIBFrame.hpp.
|
inline |
Definition at line 361 of file WIBFrame.hpp.
|
inline |
Definition at line 360 of file WIBFrame.hpp.
|
inline |
Definition at line 397 of file WIBFrame.hpp.
|
inline |
Definition at line 405 of file WIBFrame.hpp.
|
inline |
Definition at line 410 of file WIBFrame.hpp.
|
inline |
Definition at line 376 of file WIBFrame.hpp.
|
inline |
Definition at line 375 of file WIBFrame.hpp.
|
inlineprivate |
Definition at line 418 of file WIBFrame.hpp.
|
friend |
Definition at line 429 of file WIBFrame.hpp.
|
private |
Definition at line 426 of file WIBFrame.hpp.
|
private |
Definition at line 425 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 351 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 352 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 355 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 356 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 358 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 354 of file WIBFrame.hpp.
|
staticconstexpr |
Definition at line 357 of file WIBFrame.hpp.