LifetimeCalibServiceProtoDUNE.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file LifetimeCalibServiceProtoDUNE.h
3 //
4 // \brief header of service for storing/accessing lifetime calibration corrections for ProtoDUNE
5 //
6 // \author wwu@fnal.gov
7 // \date May 19, 2020
8 //
9 ////////////////////////////////////////////////////////////////////////
10 #ifndef LIFETIMECALIBSERVICEPROTODUNE_H
11 #define LIFETIMECALIBSERVICEPROTODUNE_H
12 
13 #include "fhiclcpp/ParameterSet.h"
21 
22 namespace calib{
24  public:
25 
27 
28  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
29  void preBeginRun(const art::Run& run);
30  //void preBeginRun(const art::Event& evt);
31 
32 
33  virtual provider_type* provider() const override { return fProp.get();}
34 
35  private:
36 
37  std::unique_ptr<calib::LifetimeCalibProtoDUNE> fProp;
38 
39  }; // class LifetimeCalibServiceProtoDUNE
40 } //namespace calib
42 #endif // LIFETIMECALIBSERVICEPROTODUNE_H
virtual provider_type * provider() const override
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
Definition: Run.h:17
virtual void reconfigure(fhicl::ParameterSet const &pset) override
std::unique_ptr< calib::LifetimeCalibProtoDUNE > fProp
LifetimeCalibServiceProtoDUNE(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)