Class for accessing/holding raw CRT data from the 'Grenoble' panels ProtoDUNE-II VD.
More...
#include <CRTGrenobleFrame.hpp>
|
| int | get_adc (int i_ch) const |
| | Get the adc value for channel i_ch.
|
| |
| void | set_adc (int i_ch, int val) |
| | Set the adc value for channel i_ch to val.
|
| |
| uint64_t | get_timestamp () const |
| | Get the starting 64-bit timestamp of the frame.
|
| |
| void | set_timestamp (const uint64_t new_timestamp) |
| | Set the starting 64-bit timestamp of the frame.
|
| |
Class for accessing/holding raw CRT data from the 'Grenoble' panels ProtoDUNE-II VD.
Definition at line 28 of file CRTGrenobleFrame.hpp.
◆ word_t
◆ get_adc()
| int dunedaq::fddetdataformats::CRTGrenobleFrame::get_adc |
( |
int | i_ch | ) |
const |
|
inline |
Get the adc value for channel i_ch.
Definition at line 85 of file CRTGrenobleFrame.hpp.
86 {
88 throw std::out_of_range("ADC channel index out of range");
89
90 return event.channels[i_ch].qTot;
91 }
◆ get_timestamp()
| uint64_t dunedaq::fddetdataformats::CRTGrenobleFrame::get_timestamp |
( |
| ) |
const |
|
inline |
◆ set_adc()
| void dunedaq::fddetdataformats::CRTGrenobleFrame::set_adc |
( |
int | i_ch, |
|
|
int | val ) |
|
inline |
Set the adc value for channel i_ch to val.
Definition at line 96 of file CRTGrenobleFrame.hpp.
97 {
99 throw std::out_of_range("ADC channel index out of range");
100
101 event.channels[i_ch].qTot=val;
102 }
◆ set_timestamp()
| void dunedaq::fddetdataformats::CRTGrenobleFrame::set_timestamp |
( |
const uint64_t | new_timestamp | ) |
|
|
inline |
◆ daq_header
◆ event
| STEvent dunedaq::fddetdataformats::CRTGrenobleFrame::event |
◆ s_DTS_ticks_per_second
| uint64_t dunedaq::fddetdataformats::CRTGrenobleFrame::s_DTS_ticks_per_second = 62'500'000 |
|
staticconstexpr |
◆ s_ns_per_DTS_tick
| uint64_t dunedaq::fddetdataformats::CRTGrenobleFrame::s_ns_per_DTS_tick = 16 |
|
staticconstexpr |
◆ s_num_channels
| int dunedaq::fddetdataformats::CRTGrenobleFrame::s_num_channels = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following file: