LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 
9  constexpr double kTIME_MAX = std::numeric_limits<double>::max();
10 
12  constexpr double kDEFAULT_FREQUENCY = 1.e-6;
13 
15  constexpr double kDEFAULT_FRAME_PERIOD = 1.6e3;
16 
18  constexpr double kDEFAULT_FREQUENCY_OPTICAL = 64.;
19 
21  constexpr double kDEFAULT_FREQUENCY_TPC = 2.;
22 
24  constexpr double kDEFAULT_FREQUENCY_TRIGGER = 16.;
25 
27  constexpr double kDEFAULT_FREQUENCY_EXTERNAL = 31.25;
28 
30  constexpr double kDEFAULT_MC_CLOCK_T0 = 0;
31 
33  constexpr double kDEFAULT_TRIG_OFFSET_TPC = -1600.;
34 
36  constexpr double kDEFAULT_TRIG_TIME = 0.0;
37 
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.
General LArSoft Utilities.
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.