Transient Recorder Framework
TRBurstMetaInfo.h
Go to the documentation of this file.
1 /* This file is part of the Transient Recorder Framework.
2  * It is subject to the license terms in the LICENSE.txt file found in the
3  * top-level directory of this distribution and at
4  * https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part
5  * of the Transient Recorder Framework, including this file, may be copied,
6  * modified, propagated, or distributed except according to the terms
7  * contained in the LICENSE.txt file.
8  */
9 
16 #ifndef TRANSREC_BURST_META_INFO_H
17 #define TRANSREC_BURST_META_INFO_H
18 
19 #include <math.h>
20 
27 public:
40  : burst_id(burst_id),
41  time_burst(NAN),
42  time_read(NAN),
43  time_process(NAN)
44  {
45  }
46 
50  int burst_id;
51 
55  double time_burst;
56 
60  double time_read;
61 
65  double time_process;
66 };
67 
68 #endif
Structure for burst meta-information.
Definition: TRBurstMetaInfo.h:26
double time_process
The time it took to process the burst after it was read (us).
Definition: TRBurstMetaInfo.h:65
double time_read
The time it took to read the burst from hardware (us).
Definition: TRBurstMetaInfo.h:60
TRBurstMetaInfo(int burst_id)
Constructor for burst meta-information.
Definition: TRBurstMetaInfo.h:39
double time_burst
The duration of the burst (us).
Definition: TRBurstMetaInfo.h:55
int burst_id
The burst ID (refer to the constructor).
Definition: TRBurstMetaInfo.h:50