gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
RBEvent Struct Reference

#include <events.h>

Collaboration diagram for RBEvent:

Public Member Functions

const Vec< u16 > & get_channel_by_label (u8 channel) const
 
const Vec< u16 > & get_channel_by_id (u8 channel) const
 
const Vec< u16 > & get_channel_adc (u8 channel) const
 
std::string to_string () const
 

Static Public Member Functions

static f32 calc_baseline (const Vec< f32 > &volts, usize min_bin, usize max_bin)
 Get the baseline for a single channel.
 
static RBEvent from_bytestream (const Vec< u8 > &bytestream, u64 &pos)
 

Public Attributes

u8 data_type
 
EventStatus status
 
RBEventHeader header
 
Vec< Vec< u16 > > adc
 
Vec< TofHithits
 

Static Public Attributes

static const u16 HEAD = 0xAAAA
 
static const u16 TAIL = 0x5555
 

Detailed Description

A complete event for a single readout board with header and channel data. The size is flexible, only active datachannels are recorded.


The documentation for this struct was generated from the following file: