Transient Recorder Framework
|
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). | |
Structure for burst meta-information.
This is intended for passing to TRBaseDriver::publishBurstMetaInfo.
|
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.
burst_id | The burst identifier. This should be one more for each subsequent burst and wrap around to zero before reaching INT_MAX. |