LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
DetectorClocksServiceStandard.h
Go to the documentation of this file.
1 // DetectorClocksServiceStandard.h
3 //
4 // Service interface for Detector Clock functions
5 //
6 // jpaley@fnal.gov
7 //
9 #ifndef DETECTORCLOCKSSERVICESTANDARD_H
10 #define DETECTORCLOCKSSERVICESTANDARD_H
11 
12 #include "fhiclcpp/ParameterSet.h"
18 
21 
23 namespace detinfo{
24 
86  public:
88 
89  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
90  void preBeginRun(const art::Run& run);
91  void preProcessEvent(const art::Event& evt);
92  void postOpenFile(const std::string& filename);
93 
94  virtual const provider_type* provider() const override { return fClocks.get();}
95 
96  private:
97 
98  std::unique_ptr<detinfo::DetectorClocksStandard> fClocks;
99 
100  };
101 } //namespace detinfo
103 #endif // DETECTORCLOCKSSERVICESTANDARD_H
virtual const provider_type * provider() const override
Definition: Run.h:30
virtual void reconfigure(fhicl::ParameterSet const &pset) override
General LArSoft Utilities.
art service managing detinfo::DetectorClocksStandard.
Conversion of times between different formats and references.
std::unique_ptr< detinfo::DetectorClocksStandard > fClocks
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
DetectorClocksServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)