#include <DAPHNEFrame.hpp>
|
| uint16_t | get_adc (int i) const |
| | Get the ith ADC value in the frame.
|
| void | set_adc (int i, uint16_t val) |
| | Set the ith ADC value in the frame to val.
|
| uint8_t | get_channel () const |
| void | set_channel (uint8_t val) |
| uint64_t | get_timestamp () const |
| | Get the 64-bit timestamp of the frame.
|
Definition at line 31 of file DAPHNEFrame.hpp.
◆ word_t
◆ get_adc()
| uint16_t dunedaq::fddetdataformats::DAPHNEFrame::get_adc |
( |
int | i | ) |
const |
|
inline |
Get the ith ADC value in the frame.
The ADC words are 14 bits long, stored packed in the data structure. The order is:
- 1024 adc values from one daphne channel
Definition at line 5 of file DAPHNEFrame.hxx.
6{
7
8 return static_cast<uint16_t>(
10}
◆ get_channel()
| uint8_t dunedaq::fddetdataformats::DAPHNEFrame::get_channel |
( |
| ) |
const |
|
inline |
◆ get_timestamp()
| uint64_t dunedaq::fddetdataformats::DAPHNEFrame::get_timestamp |
( |
| ) |
const |
|
inline |
◆ set_adc()
| void dunedaq::fddetdataformats::DAPHNEFrame::set_adc |
( |
int | i, |
|
|
uint16_t | val ) |
|
inline |
Set the ith ADC value in the frame to val.
Definition at line 13 of file DAPHNEFrame.hxx.
◆ set_channel()
| void dunedaq::fddetdataformats::DAPHNEFrame::set_channel |
( |
uint8_t | val | ) |
|
|
inline |
◆ adc_words
◆ daq_header
◆ header
| Header dunedaq::fddetdataformats::DAPHNEFrame::header |
◆ peaks_data
◆ s_bits_per_adc
| int dunedaq::fddetdataformats::DAPHNEFrame::s_bits_per_adc = 14 |
|
staticconstexpr |
◆ s_bits_per_word
| int dunedaq::fddetdataformats::DAPHNEFrame::s_bits_per_word = 8 * sizeof(word_t) |
|
staticconstexpr |
◆ s_num_adc_words
◆ s_num_adcs
| int dunedaq::fddetdataformats::DAPHNEFrame::s_num_adcs = 1024 |
|
staticconstexpr |
◆ version
| uint8_t dunedaq::fddetdataformats::DAPHNEFrame::version = 2 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/fddetdataformats/include/fddetdataformats/DAPHNEFrame.hpp
- /github/workspace/dunedaq/sourcecode/fddetdataformats/include/fddetdataformats/detail/DAPHNEFrame.hxx