lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
FileWriterBase.hh File Reference

FileWriterBase, the abstract file writer interface, plus SmdDef and SmdWriterBase for small-data (offset) files. More...

#include <string>
#include <vector>
#include "xtcdata/xtc/VarDef.hh"
#include "xtcdata/xtc/DescData.hh"
#include "xtcdata/xtc/TimeStamp.hh"

Classes

class  Drp::FileWriterBase
 Abstract file writer interface (open, close, writeEvent) with a writing counter that the implementations in FileWriter.cc raise while a write() call is in progress. More...
 
class  Drp::SmdDef
 VarDef of the small-data offset record: two UINT64 fields, intOffset and intDgramSize. More...
 
class  Drp::SmdWriterBase
 FileWriterBase for small-data files, with a scratch buffer of transition size and a NamesLookup. More...
 

Namespaces

namespace  Drp
 This class services detectors whose event data is formatted from the AxiStreamBatcherEventBuilder firmware module This class depends upon the existence of a python module "psdaq.configdb.<detType>_config.py", which contains the following functions: <detType>_init (str) - returns a handle (PyObject) for interacting with the device configuration <detType>_connect (handle) - returns a dictionary with "paddr" element for Xpm link ID.
 

Detailed Description

FileWriterBase, the abstract file writer interface, plus SmdDef and SmdWriterBase for small-data (offset) files.