|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Struct for accessing/holding raw CRT data from the 'Grenoble' panels ProtoDUNE-II VD. More...
#include <CRTGrenobleFrame.hpp>
Classes | |
| struct | TGpsDateStruct |
| struct | STChannel |
| struct | STEvent |
Public Types | |
| using | word_t = uint64_t |
Public Member Functions | |
| int | get_adc (const int i_ch) const |
| Get the adc value for channel i_ch. | |
| void | set_adc (const int i_ch, const 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. | |
Public Attributes | |
| detdataformats::DAQEthHeader | daq_header |
| STEvent | event |
Static Public Attributes | |
| static constexpr int | s_num_channels = 32 |
| static constexpr uint64_t | s_DTS_ticks_per_second = 62'500'000 |
| static constexpr uint64_t | s_ns_per_DTS_tick = 16 |
| static constexpr std::size_t | s_expected_bytes { sizeof(detdataformats::DAQEthHeader) + CRTGrenobleFrame::STEvent::s_expected_size } |
Struct for accessing/holding raw CRT data from the 'Grenoble' panels ProtoDUNE-II VD.
Definition at line 34 of file CRTGrenobleFrame.hpp.
| using dunedaq::fddetdataformats::CRTGrenobleFrame::word_t = uint64_t |
Definition at line 37 of file CRTGrenobleFrame.hpp.
|
inline |
Get the adc value for channel i_ch.
Definition at line 93 of file CRTGrenobleFrame.hpp.
|
inline |
Get the starting 64-bit timestamp of the frame.
Definition at line 111 of file CRTGrenobleFrame.hpp.
|
inline |
Set the adc value for channel i_ch to val.
Definition at line 102 of file CRTGrenobleFrame.hpp.
|
inline |
Set the starting 64-bit timestamp of the frame.
Definition at line 114 of file CRTGrenobleFrame.hpp.
| detdataformats::DAQEthHeader dunedaq::fddetdataformats::CRTGrenobleFrame::daq_header |
Definition at line 116 of file CRTGrenobleFrame.hpp.
| STEvent dunedaq::fddetdataformats::CRTGrenobleFrame::event |
Definition at line 117 of file CRTGrenobleFrame.hpp.
|
staticconstexpr |
Definition at line 40 of file CRTGrenobleFrame.hpp.
|
staticconstexpr |
Definition at line 90 of file CRTGrenobleFrame.hpp.
|
staticconstexpr |
Definition at line 41 of file CRTGrenobleFrame.hpp.
|
staticconstexpr |
Definition at line 39 of file CRTGrenobleFrame.hpp.