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

Public Member Functions

std::string to_string () const
 String representation for printing to output.
 
f64 get_timestamp48 () const
 get the timestamp
 

Static Public Member Functions

static TofEventHeader from_bytestream (const Vec< u8 > &stream, u64 &pos)
 

Public Attributes

u32 run_id
 
u32 event_id
 
u32 timestamp32
 
u16 timestamp16
 
u16 primary_beta
 
u16 primary_beta_unc
 
u16 primary_charge
 
u16 primary_charge_unc
 
u16 primary_outer_tof_x
 
u16 primary_outer_tof_y
 
u16 primary_outer_tof_z
 
u16 primary_inner_tof_x
 
u16 primary_inner_tof_y
 
u16 primary_inner_tof_z
 
u8 nhit_outer_tof
 
u8 nhit_inner_tof
 
u8 trigger_info
 
u8 ctr_etx
 
u8 n_paddles
 

Static Public Attributes

static const u16 HEAD = 0xAAAA
 
static const u16 TAIL = 0x5555
 
static const usize SIZE = 47
 fixed size including head and tail
 

Member Data Documentation

◆ timestamp32

u32 TofEventHeader::timestamp32

a reference to a timestamp which is not yet decided


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