Transient Recorder Framework
Main Page
Related Pages
Classes
Files
File List
TRCore
TRCoreApp
src
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
26
class
TRBurstMetaInfo
{
27
public
:
39
inline
TRBurstMetaInfo
(
int
burst_id
)
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
TRBurstMetaInfo
Structure for burst meta-information.
Definition:
TRBurstMetaInfo.h:26
TRBurstMetaInfo::time_process
double time_process
The time it took to process the burst after it was read (us).
Definition:
TRBurstMetaInfo.h:65
TRBurstMetaInfo::time_read
double time_read
The time it took to read the burst from hardware (us).
Definition:
TRBurstMetaInfo.h:60
TRBurstMetaInfo::TRBurstMetaInfo
TRBurstMetaInfo(int burst_id)
Constructor for burst meta-information.
Definition:
TRBurstMetaInfo.h:39
TRBurstMetaInfo::time_burst
double time_burst
The duration of the burst (us).
Definition:
TRBurstMetaInfo.h:55
TRBurstMetaInfo::burst_id
int burst_id
The burst ID (refer to the constructor).
Definition:
TRBurstMetaInfo.h:50
Generated by
1.8.11