DetectorClocksServiceStandardGAr.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // DetectorClocksServiceStandard.h
3 //
4 // Service interface for Detector Clock functions
5 //
6 // jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef DETECTORCLOCKSSERVICESTANDARD_H
10 #define DETECTORCLOCKSSERVICESTANDARD_H
11 
12 #include "fhiclcpp/ParameterSet.h"
20 
23 
24 ///General GArSoft Utilities
25 namespace gar {
26  namespace detinfo{
28  public:
31 
32  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
33  void preBeginRun(::art::Run const& run);
35  void postOpenFile(std::string const& filename);
36 
37  virtual const provider_type* provider() const override { return fClocks.get();}
38 
39  private:
40 
41  std::unique_ptr<detinfo::DetectorClocksStandardGAr> fClocks;
42 
43  };
44  } //namespace detinfo
45 } // gar
46 
49  LEGACY)
50 
51 #endif // DETECTORCLOCKSSERVICESTANDARD_H
virtual void reconfigure(fhicl::ParameterSet const &pset) override
std::string string
Definition: nybbler.cc:12
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
virtual const provider_type * provider() const override
DetectorClocksServiceStandardGAr(fhicl::ParameterSet const &pset,::art::ActivityRegistry &reg)
string filename
Definition: train.py:213
Definition: Run.h:17
void preProcessEvent(::art::Event const &evt, art::ScheduleContext)
std::unique_ptr< detinfo::DetectorClocksStandardGAr > fClocks
General LArSoft Utilities.
General GArSoft Utilities.
TCEvent evt
Definition: DataStructs.cxx:7