#include <FelixFormat.hh>
Public Member Functions | |
uint8_t | sof () const |
uint8_t | version () const |
uint8_t | fiber_no () const |
uint8_t | crate_no () const |
uint8_t | slot_no () const |
uint8_t | mm () const |
uint8_t | oos () const |
uint16_t | wib_errors () const |
uint64_t | timestamp () const |
uint16_t | wib_counter () const |
uint8_t | z () const |
void | set_sof (const uint8_t new_sof) |
void | set_version (const uint8_t new_version) |
void | set_fiber_no (const uint8_t new_fiber_no) |
void | set_crate_no (const uint8_t new_crate_no) |
void | set_slot_no (const uint8_t new_slot_no) |
void | set_mm (const uint8_t new_mm) |
void | set_oos (const uint8_t new_oos) |
void | set_wib_errors (const uint16_t new_wib_errors) |
void | set_timestamp (uint64_t new_timestamp) |
void | set_wib_counter (uint16_t new_wib_counter) |
void | set_z (uint8_t new_z) |
uint8_t | s1_error (const uint8_t block_num) const |
uint8_t | s2_error (const uint8_t block_num) const |
uint16_t | checksum_a (const uint8_t block_num) const |
uint16_t | checksum_b (const uint8_t block_num) const |
uint16_t | coldata_convert_count (const uint8_t block_num) const |
uint16_t | error_register (const uint8_t block_num) const |
uint8_t | hdr (const uint8_t block_num, const uint8_t i) const |
void | set_s1_error (const uint8_t block_num, const uint8_t new_s1_error) |
void | set_s2_error (const uint8_t block_num, const uint8_t new_s2_error) |
void | set_checksum_a (const uint8_t block_num, const uint16_t new_checksum_a) |
void | set_checksum_b (const uint8_t block_num, const uint16_t new_checksum_b) |
void | set_coldata_convert_count (const uint8_t block_num, const uint16_t new_coldata_convert_count) |
void | set_error_register (const uint8_t block_num, const uint16_t new_error_register) |
void | set_hdr (const uint8_t block_num, const uint8_t i, const uint8_t new_hdr) |
uint16_t | channel (const uint8_t block_num, const uint8_t adc, const uint8_t ch) const |
uint16_t | channel (const uint8_t block_num, const uint8_t ch) const |
uint16_t | 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) |
const WIBHeader * | wib_header () const |
const ColdataHeader * | coldata_header (const unsigned &block=0) const |
void | print () const |
Static Public Attributes | |
static constexpr size_t | num_frame_hdr_words = 4 |
static constexpr size_t | num_COLDATA_hdr_words = 4 |
static constexpr size_t | num_frame_words = 116 |
static constexpr size_t | num_frame_bytes = num_frame_words * sizeof(word_t) |
static constexpr size_t | num_COLDATA_words = 28 |
static constexpr size_t | num_block_per_frame = 4 |
static constexpr size_t | num_ch_per_frame = 256 |
static constexpr size_t | num_ch_per_block = 64 |
static constexpr size_t | num_seg_per_block = 8 |
static constexpr size_t | num_ch_per_seg = 8 |
Private Attributes | |
WIBHeader | head |
ColdataBlock | blocks [4] |
Definition at line 270 of file FelixFormat.hh.
|
inline |
Definition at line 387 of file FelixFormat.hh.
|
inline |
Definition at line 390 of file FelixFormat.hh.
|
inline |
Definition at line 393 of file FelixFormat.hh.
|
inline |
Definition at line 349 of file FelixFormat.hh.
|
inline |
Definition at line 352 of file FelixFormat.hh.
|
inline |
Definition at line 355 of file FelixFormat.hh.
|
inline |
Definition at line 408 of file FelixFormat.hh.
|
inline |
Definition at line 312 of file FelixFormat.hh.
|
inline |
Definition at line 358 of file FelixFormat.hh.
|
inline |
Definition at line 311 of file FelixFormat.hh.
|
inline |
Definition at line 361 of file FelixFormat.hh.
|
inline |
Definition at line 314 of file FelixFormat.hh.
|
inline |
Definition at line 315 of file FelixFormat.hh.
|
inline |
Definition at line 413 of file FelixFormat.hh.
|
inline |
Definition at line 343 of file FelixFormat.hh.
|
inline |
Definition at line 346 of file FelixFormat.hh.
|
inline |
Definition at line 395 of file FelixFormat.hh.
|
inline |
Definition at line 399 of file FelixFormat.hh.
|
inline |
Definition at line 402 of file FelixFormat.hh.
|
inline |
Definition at line 369 of file FelixFormat.hh.
|
inline |
Definition at line 372 of file FelixFormat.hh.
|
inline |
Definition at line 375 of file FelixFormat.hh.
|
inline |
Definition at line 329 of file FelixFormat.hh.
|
inline |
Definition at line 379 of file FelixFormat.hh.
|
inline |
Definition at line 328 of file FelixFormat.hh.
|
inline |
Definition at line 382 of file FelixFormat.hh.
|
inline |
Definition at line 331 of file FelixFormat.hh.
|
inline |
Definition at line 332 of file FelixFormat.hh.
|
inline |
Definition at line 363 of file FelixFormat.hh.
|
inline |
Definition at line 366 of file FelixFormat.hh.
|
inline |
Definition at line 330 of file FelixFormat.hh.
|
inline |
Definition at line 325 of file FelixFormat.hh.
|
inline |
Definition at line 336 of file FelixFormat.hh.
|
inline |
Definition at line 327 of file FelixFormat.hh.
|
inline |
Definition at line 337 of file FelixFormat.hh.
|
inline |
Definition at line 333 of file FelixFormat.hh.
|
inline |
Definition at line 340 of file FelixFormat.hh.
|
inline |
Definition at line 313 of file FelixFormat.hh.
|
inline |
Definition at line 308 of file FelixFormat.hh.
|
inline |
Definition at line 317 of file FelixFormat.hh.
|
inline |
Definition at line 310 of file FelixFormat.hh.
|
inline |
Definition at line 318 of file FelixFormat.hh.
|
inline |
Definition at line 316 of file FelixFormat.hh.
|
inline |
Definition at line 407 of file FelixFormat.hh.
|
inline |
Definition at line 319 of file FelixFormat.hh.
|
private |
Definition at line 277 of file FelixFormat.hh.
|
private |
Definition at line 276 of file FelixFormat.hh.
|
static |
Definition at line 297 of file FelixFormat.hh.
|
static |
Definition at line 299 of file FelixFormat.hh.
|
static |
Definition at line 298 of file FelixFormat.hh.
|
static |
Definition at line 301 of file FelixFormat.hh.
|
static |
Definition at line 286 of file FelixFormat.hh.
|
static |
Definition at line 295 of file FelixFormat.hh.
|
static |
Definition at line 294 of file FelixFormat.hh.
|
static |
Definition at line 285 of file FelixFormat.hh.
|
static |
Definition at line 292 of file FelixFormat.hh.
|
static |
Definition at line 300 of file FelixFormat.hh.