All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
12 namespace art {
13  class Event;
14 }
15 
16 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
19 
20 namespace detinfo {
22  public:
24 
25  virtual ~DetectorClocksService() = default;
26 
27  virtual DetectorClocksData DataForJob() const = 0;
28  virtual DetectorClocksData DataFor(art::Event const& e) const = 0;
29  };
30 }
31 
32 DECLARE_ART_SERVICE_INTERFACE(detinfo::DetectorClocksService, SHARED)
33 
34 #endif // DETECTORCLOCKSSERVICE_H
virtual DetectorClocksData DataForJob() const =0
virtual DetectorClocksData DataFor(art::Event const &e) const =0
virtual ~DetectorClocksService()=default
pure virtual base interface for detector clocks
Class used for the conversion of times between different formats and references.
Contains all timing reference information for the detector.
do i e