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 89 of file CRTGrenobleFrame.hpp.
90 {
92 throw std::out_of_range("ADC channel index out of range");
93
94 return event.channels[i_ch].qTot;
95 }
◆ 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 100 of file CRTGrenobleFrame.hpp.
101 {
103 throw std::out_of_range("ADC channel index out of range");
104
105 event.channels[i_ch].qTot=val;
106 }
◆ set_timestamp()
void dunedaq::fddetdataformats::CRTGrenobleFrame::set_timestamp |
( |
const uint64_t | new_timestamp | ) |
|
|
inline |
◆ daq_header
◆ event
STEvent dunedaq::fddetdataformats::CRTGrenobleFrame::event |
◆ s_bits_per_adc
int dunedaq::fddetdataformats::CRTGrenobleFrame::s_bits_per_adc = 16 |
|
staticconstexpr |
◆ s_bits_per_word
int dunedaq::fddetdataformats::CRTGrenobleFrame::s_bits_per_word = 8 * sizeof(word_t) |
|
staticconstexpr |
◆ 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_adcs
int dunedaq::fddetdataformats::CRTGrenobleFrame::s_num_adcs = 64 |
|
staticconstexpr |
◆ s_num_channels
int dunedaq::fddetdataformats::CRTGrenobleFrame::s_num_channels = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following file: