DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <CTBPacketContent.hpp>
Public Types | |
typedef uint64_t | ts_size_t |
typedef uint64_t | pad_size_t |
typedef uint64_t | word_type_t |
Public Attributes | |
ts_size_t | timestamp |
pad_size_t | payload: 61 |
word_type_t | word_type: 3 |
Static Public Attributes | |
static size_t const | size_bytes = 4*sizeof(uint32_t) |
static size_t const | size_u32 = 4*sizeof(uint32_t)/sizeof(uint32_t) |
static size_t const | n_bits_timestamp = 64 |
static size_t const | n_bits_payload = 61 |
static size_t const | n_bits_type = 3 |
N. Barros - May 7, 2018 : Changed the structure of the parsing
Now all structures cast into 16 bytes, but declare different bit fields to interpret each frame in the context of its respective type
Also, to move into a format where the full timestamp is stored, the full timestamp is now placed in the 64 lsb, instead of the msb. Does complies with the memory alignment and simplifies the parsing of the structures
Definition at line 76 of file CTBPacketContent.hpp.
Definition at line 78 of file CTBPacketContent.hpp.
Definition at line 77 of file CTBPacketContent.hpp.
Definition at line 79 of file CTBPacketContent.hpp.
|
static |
Definition at line 86 of file CTBPacketContent.hpp.
|
static |
Definition at line 85 of file CTBPacketContent.hpp.
|
static |
Definition at line 87 of file CTBPacketContent.hpp.
pad_size_t dunedaq::ctbmodules::content::word::word_t::payload |
Definition at line 81 of file CTBPacketContent.hpp.
|
static |
Definition at line 83 of file CTBPacketContent.hpp.
|
static |
Definition at line 84 of file CTBPacketContent.hpp.
ts_size_t dunedaq::ctbmodules::content::word::word_t::timestamp |
Definition at line 80 of file CTBPacketContent.hpp.
word_type_t dunedaq::ctbmodules::content::word::word_t::word_type |
Definition at line 82 of file CTBPacketContent.hpp.