gdata
Loading...
Searching...
No Matches
Frame data example

Frame/time-window grouping of integrated readout payloads. More...

Functions

int main (int argc, char *argv[])
 

Detailed Description

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.

Payload layout

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.

Usage

Compile this file along with the frame classes and the logging/options utilities. Run it to:

Author

© Maurizio Ungaro
e-mail: ungar.nosp@m.o@jl.nosp@m.ab.or.nosp@m.g

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 59 of file gframe_example.cc.