DetectorClocksService.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // DetectorClocksService.h
3 //
4 // Pure virtual service interface for DetectorClocks functions
5 //
6 // jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef DETECTORCLOCKSSERVICE_H
10 #define DETECTORCLOCKSSERVICE_H
11 
17 
18 namespace detinfo {
20  public:
22 
23  virtual ~DetectorClocksService() = default;
24 
25  virtual DetectorClocksData DataForJob() const = 0;
26  virtual DetectorClocksData DataFor(art::Event const& e) const = 0;
27  };
28 }
29 
31 
32 #endif // DETECTORCLOCKSSERVICE_H
virtual ~DetectorClocksService()=default
const double e
virtual DetectorClocksData DataFor(art::Event const &e) const =0
General LArSoft Utilities.
Class used for the conversion of times between different formats and references.
Contains all timing reference information for the detector.
virtual DetectorClocksData DataForJob() const =0
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
pure virtual base interface for detector clocks