Transient Recorder Framework
TRArmInfo.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_ARM_INFO_H
17 #define TRANSREC_ARM_INFO_H
18 
19 #include <cmath>
20 
21 #include "TRNonCopyable.h"
22 
23 class TRBaseDriver;
24 
31 class TRArmInfo :
32  private TRNonCopyable
33 {
34  friend class TRBaseDriver;
35 
36 private:
37  inline TRArmInfo ()
38  : rate_for_display(NAN),
42  {
43  }
44 
45 public:
52 
62 
70 
78 };
79 
80 #endif
int custom_time_array_num_pre_samples
Custom number of pre-trigger samples for the time array.
Definition: TRArmInfo.h:69
double rate_for_display
The driver MUST set this to the display sample rate.
Definition: TRArmInfo.h:51
int custom_time_array_num_post_samples
Custom number of post-trigger samples for the time array.
Definition: TRArmInfo.h:77
Information provided by the driver to the framework at the start of arming.
Definition: TRArmInfo.h:31
bool custom_time_array_calc_inputs
Enable custom sample number inputs for calculation of the time array.
Definition: TRArmInfo.h:61
Central class of the Transient Recorder framework for transient recorders (digitizers).
Definition: TRBaseDriver.h:55