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§
- RBEvent
Memory Streamer - Emit RBEvents from a stream of bytes from RBMemory
- Robin
Reader - Read RB binary (robin) files. These are also known as “blob” files
- TofPacket
Reader - Read serialized TofPackets from an existing file or directory
- TofPacket
Writer - Write TofPackets to disk.
Enums§
- File
Type - Types of files
Traits§
- Packet
Reader - Generics for packet reading (TofPacket, Telemetry packet,…) FIXME - not implemented yet
Functions§
- get_
califilename - A standardized name for calibration files saved by the liftof suite
- get_
runfilename - A standardized name for regular run files saved by the liftof suite
- get_
utc_ date - Create date string in YYMMDD format
- get_
utc_ timestamp - Get a human readable timestamp
- read_
file - Read an entire file into memory
- summarize_
toffile - Take a .tof.gaps file with TofEvents and keep all packets, but reduce the TofEvents to TofEventSuammry to conserve space.