ClockConstants.h
Go to the documentation of this file.
1 
2 #ifndef CLOCKCONSTANTS_H
3 #define CLOCKCONSTANTS_H
4 
5 #include <limits>
6 #include <climits>
7 
8 namespace gar {
9  namespace detinfo {
10 
11  /// Maximum time in nano-second
13 
14  /// Default Frequency in MHz
15  const double kDEFAULT_FREQUENCY = 1.e-6;
16 
17  /// Default Frame period in nano-second
18  const double kDEFAULT_FRAME_PERIOD = 1.6e6;
19 
20  /// Default Optical clock speed in MHz
21  const double kDEFAULT_FREQUENCY_OPTICAL = 64.;
22 
23  /// Default TPC clock speed in MHz
24  const double kDEFAULT_FREQUENCY_TPC = 2.;
25 
26  /// Default Trigger clock speed in MHz
27  const double kDEFAULT_FREQUENCY_TRIGGER = 16.;
28 
29  /// Default External clock speed in MHz
30  const double kDEFAULT_FREQUENCY_EXTERNAL = 31.25;
31 
32  /// Default G4 reference time in nano-second
33  const double kDEFAULT_MC_CLOCK_T0 = 0;
34 
35  /// Default TPC readout start time offset from trigger in nano-second
36  const double kDEFAULT_TRIG_OFFSET_TPC = 0.;
37 
38  }
39 } // gar
40 
41 #endif
const double kDEFAULT_FREQUENCY_TRIGGER
Default Trigger clock speed in MHz.
const double kDEFAULT_FRAME_PERIOD
Default Frame period in nano-second.
const double kDEFAULT_MC_CLOCK_T0
Default G4 reference time in nano-second.
const double kDEFAULT_FREQUENCY_OPTICAL
Default Optical clock speed in MHz.
const double kDEFAULT_FREQUENCY
Default Frequency in MHz.
const double kDEFAULT_FREQUENCY_TPC
Default TPC clock speed in MHz.
General LArSoft Utilities.
static int max(int a, int b)
const double kDEFAULT_FREQUENCY_EXTERNAL
Default External clock speed in MHz.
const double kDEFAULT_TRIG_OFFSET_TPC
Default TPC readout start time offset from trigger in nano-second.
General GArSoft Utilities.
const double kTIME_MAX
Maximum time in nano-second.