![]() |
gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
|
Public Member Functions | |
CRReader (std::string filename) | |
CRReader (const CRReader &)=delete | |
void | set_filename (std::string) |
CRFrame | get_next_frame () |
std::string | get_filename () const |
bool | is_exhausted () const |
bool | n_packets_read () const |
bool Gaps::CRReader::is_exhausted | ( | ) | const |
Return the filename we assigned All packets have been read from the file. If they should be read again, the reader has to be created again
bool Gaps::CRReader::n_packets_read | ( | ) | const |
The number of files this reader has read from the file
void Gaps::CRReader::set_filename | ( | std::string | ) |
Set a filename where to read packets from. This is a binary file format, typically ending in ".tof.gaps" Walk over the file and return the next packet