Class for accessing/holding raw CRT data from the 'Bern' panels ProtoDUNE-II VD.
More...
#include <CRTBernFrame.hpp>
Class for accessing/holding raw CRT data from the 'Bern' panels ProtoDUNE-II VD.
Definition at line 29 of file CRTBernFrame.hpp.
◆ word_t
◆ get_adc()
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::get_adc |
( |
int | i_ch | ) |
const |
|
inline |
Get the adc value for channel i_ch.
Definition at line 68 of file CRTBernFrame.hpp.
69 {
71 throw std::out_of_range("ADC channel index out of range");
72
73 return data.adc[i_ch];
74 }
◆ get_coinc()
| uint32_t dunedaq::fddetdataformats::CRTBernFrame::get_coinc |
( |
| ) |
const |
|
inline |
◆ get_flags()
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::get_flags |
( |
| ) |
const |
|
inline |
◆ get_lostcpu()
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::get_lostcpu |
( |
| ) |
const |
|
inline |
◆ get_lostfpga()
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::get_lostfpga |
( |
| ) |
const |
|
inline |
◆ get_mac5()
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::get_mac5 |
( |
| ) |
const |
|
inline |
◆ get_timestamp()
| uint64_t dunedaq::fddetdataformats::CRTBernFrame::get_timestamp |
( |
| ) |
const |
|
inline |
Get the starting 64-bit timestamp of the frame.
Definition at line 89 of file CRTBernFrame.hpp.
◆ get_ts0()
| uint32_t dunedaq::fddetdataformats::CRTBernFrame::get_ts0 |
( |
| ) |
const |
|
inline |
◆ get_ts1()
| uint32_t dunedaq::fddetdataformats::CRTBernFrame::get_ts1 |
( |
| ) |
const |
|
inline |
◆ set_adc()
| void dunedaq::fddetdataformats::CRTBernFrame::set_adc |
( |
int | i_ch, |
|
|
uint16_t | val ) |
|
inline |
Set the adc value for channel i_ch to val.
Definition at line 79 of file CRTBernFrame.hpp.
80 {
82 throw std::out_of_range("ADC channel index out of range");
83
85 }
◆ set_coinc()
| void dunedaq::fddetdataformats::CRTBernFrame::set_coinc |
( |
const uint32_t | new_coinc | ) |
|
|
inline |
◆ set_flags()
| void dunedaq::fddetdataformats::CRTBernFrame::set_flags |
( |
const uint16_t | new_flags | ) |
|
|
inline |
◆ set_lostcpu()
| void dunedaq::fddetdataformats::CRTBernFrame::set_lostcpu |
( |
const uint16_t | new_lostcpu | ) |
|
|
inline |
◆ set_lostfpga()
| void dunedaq::fddetdataformats::CRTBernFrame::set_lostfpga |
( |
const uint16_t | new_lostfpga | ) |
|
|
inline |
◆ set_mac5()
| void dunedaq::fddetdataformats::CRTBernFrame::set_mac5 |
( |
const uint16_t | new_mac5 | ) |
|
|
inline |
◆ set_timestamp()
| void dunedaq::fddetdataformats::CRTBernFrame::set_timestamp |
( |
const uint64_t | new_timestamp | ) |
|
|
inline |
Set the starting 64-bit timestamp of the frame also set the underlying ts0 to be consistent.
Definition at line 97 of file CRTBernFrame.hpp.
◆ set_ts0()
| void dunedaq::fddetdataformats::CRTBernFrame::set_ts0 |
( |
const uint32_t | new_ts0 | ) |
|
|
inline |
◆ set_ts1()
| void dunedaq::fddetdataformats::CRTBernFrame::set_ts1 |
( |
const uint32_t | new_ts1 | ) |
|
|
inline |
◆ daq_header
◆ data
| CRTBernData dunedaq::fddetdataformats::CRTBernFrame::data |
◆ mac5
| uint16_t dunedaq::fddetdataformats::CRTBernFrame::mac5 |
◆ s_DTS_ticks_per_second
| uint64_t dunedaq::fddetdataformats::CRTBernFrame::s_DTS_ticks_per_second = 62'500'000 |
|
staticconstexpr |
◆ s_ns_per_DTS_tick
| uint64_t dunedaq::fddetdataformats::CRTBernFrame::s_ns_per_DTS_tick = 16 |
|
staticconstexpr |
◆ s_num_channels
| int dunedaq::fddetdataformats::CRTBernFrame::s_num_channels = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- /github/workspace/dunedaq/sourcecode/fddetdataformats/include/fddetdataformats/CRTBernFrame.hpp