Draft, in work.
Generating Xtc
For tutorial purposes, the following streamlined example shows XXX. For an example involving more detectors and formats and their corresponding algorithms, see the example xtcdata/xtcdata/app/xtcwriter.cc.
A Notional DAQ Harness
# Assume some totally made-up data acquisition callback framework named DAQFramework
CSPADXtcWriter padwriter() DAQFramework.registerHandler("configure", padwriter.setup) DAQFramework.registerHandler("runstart", padwriter.setup) DAQFramework.registerHandler("readoutevent", padwriter.writeEvent) DAQFramework.registerHandler("runend", padwriter.writeFile)
Set Up The Names Structure
Define the "shape" of detector elements and associate algorithm version information with the data to facilitate pipeline processing.
- A code sample description.
- Next code sample description.
At some initialization step, for example in response to a DAQ configure signal:
- Subclass XtcData::VarDef to build a data structure specific to the detector in question.
Parsing Whole Xtc Files
xtcreader.cc and XtcIterator.hh
Use of Xtc Small Data Files
this might be duplicate of what's on top page
Overview
Content Tools