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

Public Member Functions

 CRReader (std::string pathname)
 
 CRReader (const CRReader &)=delete
 
auto set_path (std::string pathname) -> void
 
auto get_next_frame () -> CRFrame
 
auto get_filenames () const -> Vec< std::string >
 
auto is_exhausted () const -> bool
 
auto n_packets_read () const -> bool
 
auto get_rbcalibrations (u8 n_rb) -> RBCalibrationMap
 

Member Function Documentation

◆ get_next_frame()

auto Gaps::CRReader::get_next_frame ( ) -> CRFrame

Walk over the file, and return the next frame as saved in the file.

Advaces all internal position markers. If the last frame is reached, an exception will be risen. After the reader is exhausted, is has to be re-initialized

◆ get_rbcalibrations()

auto Gaps::CRReader::get_rbcalibrations ( u8  n_rb) -> RBCalibrationMap

get the RBCalibration map the paramter is the number of RBs we expect in this run

◆ is_exhausted()

auto Gaps::CRReader::is_exhausted ( ) const -> bool

All packets have been read from the file. If they should be read again, the reader has to be created again

◆ n_packets_read()

auto Gaps::CRReader::n_packets_read ( ) const -> bool

The number of files this reader has read from the file


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