LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DetectorClocks.h
Go to the documentation of this file.
1 
9 #ifndef LARDATAALG_DETECTORINFO_DETECTORCLOCKS_H
10 #define LARDATAALG_DETECTORINFO_DETECTORCLOCKS_H
11 
14 
15 // C++ libraries
16 #include <string>
17 #include <vector>
18 
19 namespace detinfo {
20 
21  enum ConfigType_t {
32  };
33 
53  public:
54  virtual ~DetectorClocks() = default;
55 
58  virtual std::vector<std::string> const& ConfigNames() const = 0;
59 
63  virtual std::vector<double> const& ConfigValues() const = 0;
64 
72  virtual DetectorClocksData DataForJob() const = 0;
73 
89  virtual DetectorClocksData DataFor(double g4_ref_time,
90  double trigger_time,
91  double beam_time) const = 0;
92  }; // class DetectorClocks
93 
94 } // namespace detinfo
95 
96 #endif // LARDATAALG_DETECTORINFO_DETECTORCLOCKS_H
virtual DetectorClocksData DataForJob() const =0
Returns a complete detinfo::DetectorClocksData object.
timescale_traits< TriggerTimeCategory >::time_point_t trigger_time
A point in time on the trigger time scale.
virtual ~DetectorClocks()=default
General LArSoft Utilities.
virtual std::vector< std::string > const & ConfigNames() const =0
Class used for the conversion of times between different formats and references.
Contains all timing reference information for the detector.
Class def header for a class ElecClock.
virtual DetectorClocksData DataFor(double g4_ref_time, double trigger_time, double beam_time) const =0
Returns a complete detinfo::DetectorClocksData object.
virtual std::vector< double > const & ConfigValues() const =0