![]() |
gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
|
#include <events.h>
Static Public Member Functions | |
static auto | calc_baseline (const Vec< f32 > &volts, usize min_bin, usize max_bin) -> f32 |
Get the baseline for a single channel. | |
static auto | from_bytestream (const Vec< u8 > &bytestream, u64 &pos) -> RBEvent |
Public Attributes | |
u8 | data_type = 0 |
EventStatus | status = EventStatus::Unknown |
RBEventHeader | header = RBEventHeader() |
Vec< Vec< u16 > > | adc = Vec<Vec<u16>>() |
Vec< TofHit > | hits = Vec<TofHit>() |
Static Public Attributes | |
static constexpr u16 | HEAD = 0xAAAA |
static constexpr u16 | TAIL = 0x5555 |
A complete event for a single readout board with header and channel data. The size is flexible, only active datachannels are recorded.