![]() |
gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
|
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 |
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
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
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
auto Gaps::CRReader::n_packets_read | ( | ) | const -> bool |
The number of files this reader has read from the file