XYZCalibServiceProtoDUNE.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file XYZCalibServiceProtoDUNE.h
3 //
4 // \brief header of service for storing/accessing (x,y,z) calibration corrections for ProtoDUNE
5 //
6 // \author jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef XYZCALIBSERVICEPROTODUNE_H
10 #define XYZCALIBSERVICEPROTODUNE_H
11 
12 #include "fhiclcpp/ParameterSet.h"
19 
20 namespace calib{
22  public:
23 
25 
26  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
27  void preBeginRun(const art::Run& run);
28 
29 
30  virtual provider_type* provider() const override { return fProp.get();}
31 
32  private:
33 
34  std::unique_ptr<calib::XYZCalibProtoDUNE> fProp;
35 
36  }; // class XYZCalibServiceProtoDUNE
37 } //namespace calib
39 #endif // XYZCALIBSERVICEPROTODUNE_H
XYZCalibServiceProtoDUNE(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
virtual provider_type * provider() const override
Definition: Run.h:17
virtual void reconfigure(fhicl::ParameterSet const &pset) override
std::unique_ptr< calib::XYZCalibProtoDUNE > fProp