Per-event trigger data attached to a decoded data frame.
More...
#include <triggers.h>
|
| | trigger_event (uint8_t idx) |
| | Construct with index only; timestamps default to zero.
|
| |
| | trigger_event (uint8_t idx, uint16_t crs) |
| | Construct with index and coarse timestamp.
|
| |
| | trigger_event (uint8_t idx, uint16_t crs, float fine) |
| | Construct with all fields.
|
| |
|
|
uint8_t | index |
| | Hardware trigger index.
|
| |
|
uint16_t | coarse |
| | Coarse timestamp (DAQ clock ticks)
|
| |
|
float | fine_time |
| | Fine timestamp correction (ns)
|
| |
Per-event trigger data attached to a decoded data frame.
Lightweight struct created once per event by the DAQ readout loop. Carries only the fields present in the raw data stream: the hardware trigger index and the two-component timestamp (coarse + fine).
◆ trigger_event() [1/3]
| trigger_event::trigger_event |
( |
uint8_t |
idx | ) |
|
|
inline |
Construct with index only; timestamps default to zero.
- Parameters
-
| idx | Hardware trigger index. |
◆ trigger_event() [2/3]
| trigger_event::trigger_event |
( |
uint8_t |
idx, |
|
|
uint16_t |
crs |
|
) |
| |
|
inline |
Construct with index and coarse timestamp.
- Parameters
-
| idx | Hardware trigger index. |
| crs | Coarse timestamp. |
◆ trigger_event() [3/3]
| trigger_event::trigger_event |
( |
uint8_t |
idx, |
|
|
uint16_t |
crs, |
|
|
float |
fine |
|
) |
| |
|
inline |
Construct with all fields.
- Parameters
-
| idx | Hardware trigger index. |
| crs | Coarse timestamp. |
| fine | Fine time correction (ns). |
The documentation for this struct was generated from the following file:
- /home/runner/work/epic-drich-beam-test-analysis/epic-drich-beam-test-analysis/include/triggers.h