Transient Recorder Framework
Public Member Functions | Public Attributes | List of all members
TRBurstMetaInfo Class Reference

Structure for burst meta-information. More...

#include <TRBurstMetaInfo.h>

Public Member Functions

 TRBurstMetaInfo (int burst_id)
 Constructor for burst meta-information. More...
 

Public Attributes

int burst_id
 The burst ID (refer to the constructor).
 
double time_burst
 The duration of the burst (us).
 
double time_read
 The time it took to read the burst from hardware (us).
 
double time_process
 The time it took to process the burst after it was read (us).
 

Detailed Description

Structure for burst meta-information.

This is intended for passing to TRBaseDriver::publishBurstMetaInfo.

Constructor & Destructor Documentation

TRBurstMetaInfo::TRBurstMetaInfo ( int  burst_id)
inline

Constructor for burst meta-information.

It stores the burst ID and initializes all other variables to predefined invalid values. It is not required to set any other variable.

Parameters
burst_idThe burst identifier. This should be one more for each subsequent burst and wrap around to zero before reaching INT_MAX.

The documentation for this class was generated from the following file: