#include <DAPHNEStreamFrame.hpp>
|
| 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 (uint i_adc, uint i_channel) const |
| | Get the i ADC value of chn in the frame.
|
| void | set_adc (uint i, uint chn, uint16_t val) |
| | Set the i ADC value of chn in the frame to val.
|
| uint8_t | get_channel0 () const |
| | Get the channel 0 from the DAPHNE Stream frame header.
|
| uint8_t | get_channel1 () const |
| | Get the channel 1 from the DAPHNE Stream frame header.
|
| uint8_t | get_channel2 () const |
| | Get the channel 2 from the DAPHNE Stream frame header.
|
| uint8_t | get_channel3 () const |
| | Get the channel 3 from the DAPHNE Stream frame header.
|
Definition at line 33 of file DAPHNEStreamFrame.hpp.
◆ word_t
◆ get_adc()
| uint16_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_adc |
( |
uint | i_adc, |
|
|
uint | i_channel ) const |
|
inline |
Get the i ADC value of chn in the frame.
Definition at line 5 of file DAPHNEStreamFrame.hxx.
6{
7 return static_cast<uint16_t>(
10 static_cast<int>(i_adc),
static_cast<int>(i_channel),
adc_words));
11}
◆ get_channel0()
| uint8_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_channel0 |
( |
| ) |
const |
|
inline |
◆ get_channel1()
| uint8_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_channel1 |
( |
| ) |
const |
|
inline |
◆ get_channel2()
| uint8_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_channel2 |
( |
| ) |
const |
|
inline |
◆ get_channel3()
| uint8_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_channel3 |
( |
| ) |
const |
|
inline |
◆ get_timestamp()
| uint64_t dunedaq::fddetdataformats::DAPHNEStreamFrame::get_timestamp |
( |
| ) |
const |
|
inline |
◆ set_adc()
| void dunedaq::fddetdataformats::DAPHNEStreamFrame::set_adc |
( |
uint | i, |
|
|
uint | chn, |
|
|
uint16_t | val ) |
|
inline |
Set the i ADC value of chn in the frame to val.
Definition at line 14 of file DAPHNEStreamFrame.hxx.
15{
18 static_cast<int>(i_adc),
static_cast<int>(i_channel), val,
adc_words);
19}
◆ set_timestamp()
| void dunedaq::fddetdataformats::DAPHNEStreamFrame::set_timestamp |
( |
const uint64_t | new_timestamp | ) |
|
|
inline |
◆ adc_words
◆ daq_header
◆ header
| Header dunedaq::fddetdataformats::DAPHNEStreamFrame::header |
◆ s_adcs_per_channel
| int dunedaq::fddetdataformats::DAPHNEStreamFrame::s_adcs_per_channel = 64 |
|
staticconstexpr |
◆ s_bits_per_adc
| int dunedaq::fddetdataformats::DAPHNEStreamFrame::s_bits_per_adc = 14 |
|
staticconstexpr |
◆ s_bits_per_word
| int dunedaq::fddetdataformats::DAPHNEStreamFrame::s_bits_per_word = 8 * sizeof(word_t) |
|
staticconstexpr |
◆ s_channels_per_frame
| int dunedaq::fddetdataformats::DAPHNEStreamFrame::s_channels_per_frame = 4 |
|
staticconstexpr |
◆ s_daphnes_per_frame
| int dunedaq::fddetdataformats::DAPHNEStreamFrame::s_daphnes_per_frame = 1 |
|
staticconstexpr |
◆ s_num_adc_words
◆ trailer
| Trailer dunedaq::fddetdataformats::DAPHNEStreamFrame::trailer |
The documentation for this class was generated from the following files: