#include <DAPHNEEthTypeAdapter.hpp>
Definition at line 25 of file DAPHNEEthTypeAdapter.hpp.
◆ FrameType
◆ begin()
FrameType * dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::begin |
( |
| ) |
|
|
inline |
Definition at line 72 of file DAPHNEEthTypeAdapter.hpp.
73 {
75 }
dunedaq::fddetdataformats::DAPHNEEthFrame FrameType
char data[kDAPHNEEthSize]
◆ end()
FrameType * dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::end |
( |
| ) |
|
|
inline |
Definition at line 77 of file DAPHNEEthTypeAdapter.hpp.
78 {
80 }
const constexpr std::size_t kDAPHNEEthSize
For DAPHNEEth the numbers are different. Header + (64 channels * 64 time slices) = 233[Bytes].
◆ fake_adc_pattern()
void dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::fake_adc_pattern |
( |
int | | ) |
|
|
inline |
◆ fake_frame_errors()
void dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::fake_frame_errors |
( |
std::vector< uint16_t > * | | ) |
|
|
inline |
◆ fake_geoid()
void dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::fake_geoid |
( |
uint16_t | crate_id, |
|
|
uint16_t | slot_id, |
|
|
uint16_t | stream_id ) |
|
inline |
Definition at line 55 of file DAPHNEEthTypeAdapter.hpp.
55 {
59 df->daq_header.slot_id = slot_id;
60 df->daq_header.stream_id = stream_id;
61 }
62 }
◆ fake_timestamps()
void dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::fake_timestamps |
( |
uint64_t | first_timestamp, |
|
|
uint64_t | = 2048 ) |
|
inline |
◆ get_frame_size()
size_t dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::get_frame_size |
( |
| ) |
|
|
inline |
◆ get_num_frames()
size_t dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::get_num_frames |
( |
| ) |
|
|
inline |
◆ get_payload_size()
size_t dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::get_payload_size |
( |
| ) |
|
|
inline |
◆ get_timestamp()
uint64_t dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::get_timestamp |
( |
| ) |
const |
|
inline |
◆ operator<()
Definition at line 30 of file DAPHNEEthTypeAdapter.hpp.
31 {
34
35 return std::forward_as_tuple(thisptr->get_timestamp(), thisptr->get_channel()) < std::forward_as_tuple(otherptr->get_timestamp(), otherptr->get_channel());
36 }
◆ set_timestamp()
void dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::set_timestamp |
( |
uint64_t | ts | ) |
|
|
inline |
◆ data
char dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::data[kDAPHNEEthSize] |
◆ expected_tick_difference
const constexpr uint64_t dunedaq::fdreadoutlibs::types::DAPHNEEthTypeAdapter::expected_tick_difference = 1 |
|
staticconstexpr |
◆ fragment_type
◆ subsystem
The documentation for this struct was generated from the following file: