|
gdata
|
Frame/time-window grouping of integrated readout payloads. More...
Functions | |
| int | main (int argc, char *argv[]) |
This example demonstrates how to build a frame container (GFrameDataCollection) that owns:
Frames are typically used for streaming/readout-style output where data are grouped by time windows rather than by events. Conceptually, a frame corresponds to a fixed integration window (for example 33.33 ms), during which many channels may fire.
The addIntegralPayload() API accepts a packed integer vector with a fixed order (size must be exactly 5):
This example constructs three such payloads and inserts them into the frame collection.
Compile this file along with the frame classes and the logging/options utilities. Run it to:
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 59 of file gframe_example.cc.