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 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
 

Member Function Documentation

◆ is_exhausted()

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

◆ n_packets_read()

bool Gaps::CRReader::n_packets_read ( ) const

The number of files this reader has read from the file

◆ set_filename()

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


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