Incorporating Modifiying the Readout skeletonModifiying the Readout skeletonHow to structure your readout

How to structure your readout

Before describing how to modify the readout software, it is important to understand how the readout software organizes the readout. There are two organizations to consider; The logical way in which you programmatically desribe the readout to the software, and the physical layout of the corresponding event in the event buffer.

The new NSCL readout software logically organizes events in chunks. Each chunk is called an Event Segment. The framework supports three types of event segements:

Simple Described by objects that are derived from the class CEventSegment.
Compound Described by a CCompoundEventSegment object that has had other event segments (both simple and compound) inserted into it.
Traditional A single object of type CTraditionalEventSegment can be incorporated in your readout. Incorporating "traditional" readout software describes how to use this mechanism to incorporate legacy readout software. It is also possible to put the single tradtional readout segement into a compound readout segement and in this way merge it with more modern readout software.

The physical structure of an event is essentially up to the requirements of an experiment. The overall structure of an event buffer is described in Event Data Buffers We recommend that you structure your physical readout in documented packets. The examples in this section will show how to do this, however complete information about documented packets and what they give you is in Documenting event segment packet types

Let's now look at how to specify what is read out. To create a simple readout, you will need to:

To use Compound Event segments:

Note that you may also use compound event segments to build up a hierarchical organization of the readout system. To do this, simply create compound event objects and embed them in other compound event objects.


Report documentation errors to Ron Fox (fox@nscl.msu.edu)or NSCL's Bugzilla page

Incorporating Modifiying the Readout skeletonModifiying the Readout skeletonHow to structure your readout