#include <CRTBernTypeAdapter.hpp>
Definition at line 20 of file CRTBernTypeAdapter.hpp.
◆ FrameType
◆ begin()
| FrameType * dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::begin |
( |
| ) |
|
|
inline |
Definition at line 66 of file CRTBernTypeAdapter.hpp.
67 {
69 }
char data[kCRTBernFrameSize]
dunedaq::fddetdataformats::CRTBernFrame FrameType
◆ end()
| FrameType * dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::end |
( |
| ) |
|
|
inline |
◆ fake_adc_pattern()
| void dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::fake_adc_pattern |
( |
int | channel | ) |
|
|
inline |
◆ fake_frame_errors()
| void dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::fake_frame_errors |
( |
std::vector< uint16_t > * | | ) |
|
|
inline |
◆ fake_geoid()
| void dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::fake_geoid |
( |
uint16_t | crate_id, |
|
|
uint16_t | slot_id, |
|
|
uint16_t | stream_id ) |
|
inline |
Definition at line 49 of file CRTBernTypeAdapter.hpp.
49 {
50 auto df =
reinterpret_cast<FrameType*
>(
reinterpret_cast<uint8_t*
>(&
data));
51 df->daq_header.slot_id = slot_id;
52 df->daq_header.stream_id = stream_id;
54 }
◆ fake_timestamps()
| void dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::fake_timestamps |
( |
uint64_t | first_timestamp, |
|
|
uint64_t | = expected_tick_difference ) |
|
inline |
◆ get_frame_size()
| size_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::get_frame_size |
( |
| ) |
|
|
inline |
◆ get_num_frames()
| size_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::get_num_frames |
( |
| ) |
|
|
inline |
◆ get_payload_size()
| size_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::get_payload_size |
( |
| ) |
|
|
inline |
◆ get_timestamp()
| uint64_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::get_timestamp |
( |
| ) |
const |
|
inline |
◆ operator<()
Definition at line 26 of file CRTBernTypeAdapter.hpp.
27 {
29 auto otherptr =
reinterpret_cast<const FrameType*
>(&other.data);
30 return thisptr->get_timestamp() < otherptr->get_timestamp() ? true : false;
31 }
◆ set_timestamp()
| void dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::set_timestamp |
( |
uint64_t | ts | ) |
|
|
inline |
◆ data
◆ expected_tick_difference
| const constexpr uint64_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::expected_tick_difference = 1 |
|
staticconstexpr |
◆ fixed_payload_size
| const constexpr size_t dunedaq::fdreadoutlibs::types::CRTBernTypeAdapter::fixed_payload_size = kCRTBernFrameSize |
|
staticconstexpr |
◆ fragment_type
◆ subsystem
The documentation for this struct was generated from the following file: