|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <DAPHNEStreamFrame.hpp>
Classes | |
| struct | Header |
| struct | Trailer |
Public Types | |
| using | word_t = uint32_t |
Public Member Functions | |
| uint64_t | get_timestamp () const |
| void | set_timestamp (const uint64_t new_timestamp) |
| Set the 64-bit timestamp of the frame. | |
| uint16_t | get_adc (int i_adc, int i_channel) const |
Get the i ADC value of chn in the frame. | |
| void | set_adc (int i, int i_channel, uint16_t val) |
Set the i ADC value of chn in the frame to val. | |
| uint8_t | get_channel0 () const |
| uint8_t | get_channel1 () const |
| uint8_t | get_channel2 () const |
| uint8_t | get_channel3 () const |
| bool | operator< (const DAPHNEStreamFrame &other) const |
Public Attributes | |
| detdataformats::DAQHeader | daq_header |
| Header | header |
| word_t | adc_words [s_num_adc_words] |
| Trailer | trailer |
Static Public Attributes | |
| static constexpr int | s_bits_per_adc = 14 |
| static constexpr int | s_bits_per_word = 8 * sizeof(word_t) |
| static constexpr int | s_channels_per_frame = 4 |
| static constexpr int | s_adcs_per_channel = 64 |
| static constexpr int | s_daphnes_per_frame = 1 |
| static constexpr int | s_num_adc_words = s_channels_per_frame * s_adcs_per_channel * s_bits_per_adc / s_bits_per_word |
| static constexpr std::size_t | s_expected_bytes |
Definition at line 34 of file DAPHNEStreamFrame.hpp.
| using dunedaq::fddetdataformats::DAPHNEStreamFrame::word_t = uint32_t |
Definition at line 37 of file DAPHNEStreamFrame.hpp.
|
inline |
Get the i ADC value of chn in the frame.
Definition at line 5 of file DAPHNEStreamFrame.hxx.
|
inline |
Definition at line 78 of file DAPHNEStreamFrame.hpp.
|
inline |
Definition at line 80 of file DAPHNEStreamFrame.hpp.
|
inline |
Definition at line 82 of file DAPHNEStreamFrame.hpp.
|
inline |
Definition at line 84 of file DAPHNEStreamFrame.hpp.
|
inline |
Definition at line 63 of file DAPHNEStreamFrame.hpp.
|
inline |
Definition at line 86 of file DAPHNEStreamFrame.hpp.
|
inline |
Set the i ADC value of chn in the frame to val.
Definition at line 14 of file DAPHNEStreamFrame.hxx.
|
inline |
Set the 64-bit timestamp of the frame.
Definition at line 66 of file DAPHNEStreamFrame.hpp.
| word_t dunedaq::fddetdataformats::DAPHNEStreamFrame::adc_words[s_num_adc_words] |
Definition at line 92 of file DAPHNEStreamFrame.hpp.
| detdataformats::DAQHeader dunedaq::fddetdataformats::DAPHNEStreamFrame::daq_header |
Definition at line 90 of file DAPHNEStreamFrame.hpp.
| Header dunedaq::fddetdataformats::DAPHNEStreamFrame::header |
Definition at line 91 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 42 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 39 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 40 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 41 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 43 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 59 of file DAPHNEStreamFrame.hpp.
|
staticconstexpr |
Definition at line 44 of file DAPHNEStreamFrame.hpp.
| Trailer dunedaq::fddetdataformats::DAPHNEStreamFrame::trailer |
Definition at line 93 of file DAPHNEStreamFrame.hpp.