All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClockConstants.h
Go to the documentation of this file.
1 #ifndef CLOCKCONSTANTS_H
2 #define CLOCKCONSTANTS_H
3 
4 #include <limits>
5 
6 namespace detinfo {
7 
8  /// Maximum time in microseconds
9  constexpr double kTIME_MAX = std::numeric_limits<double>::max();
10 
11  /// Default Frequency in MHz
12  constexpr double kDEFAULT_FREQUENCY = 1.e-6;
13 
14  /// Default Frame period in micro-second
15  constexpr double kDEFAULT_FRAME_PERIOD = 1.6e3;
16 
17  /// Default Optical clock speed in MHz
18  constexpr double kDEFAULT_FREQUENCY_OPTICAL = 64.;
19 
20  /// Default TPC clock speed in MHz
21  constexpr double kDEFAULT_FREQUENCY_TPC = 2.;
22 
23  /// Default Trigger clock speed in MHz
24  constexpr double kDEFAULT_FREQUENCY_TRIGGER = 16.;
25 
26  /// Default External clock speed in MHz
27  constexpr double kDEFAULT_FREQUENCY_EXTERNAL = 31.25;
28 
29  /// Default G4 reference time in micro-second
30  constexpr double kDEFAULT_MC_CLOCK_T0 = 0;
31 
32  /// Default TPC readout start time offset from trigger in micro-second
33  constexpr double kDEFAULT_TRIG_OFFSET_TPC = -1600.;
34 
35  /// Default TriggerTime in micro-second
36  constexpr double kDEFAULT_TRIG_TIME = 0.0;
37 
38  /// Default BeamGateTime in micro-second
39  constexpr double kDEFAULT_BEAM_TIME = 0.0;
40 
41 }
42 
43 #endif
constexpr double kTIME_MAX
Maximum time in microseconds.
Definition: ClockConstants.h:9
constexpr double kDEFAULT_FREQUENCY_TPC
Default TPC clock speed in MHz.
constexpr double kDEFAULT_MC_CLOCK_T0
Default G4 reference time in micro-second.
constexpr double kDEFAULT_TRIG_OFFSET_TPC
Default TPC readout start time offset from trigger in micro-second.
constexpr double kDEFAULT_BEAM_TIME
Default BeamGateTime in micro-second.
constexpr double kDEFAULT_TRIG_TIME
Default TriggerTime in micro-second.
constexpr double kDEFAULT_FREQUENCY_EXTERNAL
Default External clock speed in MHz.
constexpr double kDEFAULT_FREQUENCY_OPTICAL
Default Optical clock speed in MHz.
constexpr double kDEFAULT_FREQUENCY_TRIGGER
Default Trigger clock speed in MHz.
constexpr double kDEFAULT_FRAME_PERIOD
Default Frame period in micro-second.
constexpr double kDEFAULT_FREQUENCY
Default Frequency in MHz.