Expand description
Dataio - readino/writing of different types
of TOF data products.
-
TofPacketReader/Writer - sequentially read/write TofPackets from/to a file on disk. -> upcoming: Will connect to a network socket
-
RobinReader: Read (old) RB data files, where the file is simply a dump of the internal buffers (“RBEventMemoryView”).
-
RBEventMemoryStreamer: Walk over “raw” RBEvents representations (“RBEventMemoryView”) and extract RBEvents
Structs§
- Emit RBEvents from a stream of bytes from RBMemory
- Read RB binary (robin) files. These are also known as “blob” files
- Read serialized TofPackets from an existing file
- Write TofPackets to disk.
Enums§
- Types of files
Traits§
- Generics for packet reading (TofPacket, Telemetry packet,…) FIXME - not implemented yet
Functions§
- A standardized name for calibration files saved by the liftof suite
- A standardized name for regular run files saved by the liftof suite
- Create date string in YYMMDD format
- Get a human readable timestamp
- Read an entire file into memory
- Take a .tof.gaps file with TofEvents and keep all packets, but reduce the TofEvents to TofEventSuammry to conserve space.