|
McStas Readout Master 0.3.3
|
Legacy flat-file HDF5 writer used by the runtime-streaming Readout components. More...
#include <writer.h>
Public Member Functions | |
| RL_API DetectorType | detector_type () const |
| RL_API void | detector_type (const DetectorType type) |
| RL_API ReadoutType | readout_type () const |
| RL_API void | readout_type (const ReadoutType type) |
| RL_API void | verbose (const int v) |
| RL_API | Writer (const std::string &filename, const DetectorType detectorType, const ReadoutType readoutType, const std::string &dataset_name="events") |
| RL_API void | saveReadout (const uint8_t Ring, const uint8_t FEN, const double tof, const double weight, const void *data) |
| Append one event; data must point to the readout struct matching the configured ReadoutType. | |
| template<class T > | |
| void | saveReadout (T data) |
Legacy flat-file HDF5 writer used by the runtime-streaming Readout components.
Appends one row per event to a single unlimited events dataset whose compound datatype comes from the readout registry (hdf_compound_type). This is the pre-collector format: it has no cues, weights, or normalizations, and is not readable by the collector Reader/replay path — new code should use Collector (CollectorClass.h) instead.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Append one event; data must point to the readout struct matching the configured ReadoutType.
Definition at line 88 of file writer.h.
References saveReadout().
Referenced by saveReadout().
|
inline |