DetPedestalService.h
Go to the documentation of this file.
1 #ifndef DETPEDESTALSERVICE_H
2 #define DETPEDESTALSERVICE_H
3 
5 #include "larcore/CoreUtils/ServiceUtil.h" // unused; for includer's convenience
6 
7 //forward declarations
8 namespace lariov {
9  class DetPedestalProvider;
10 }
11 
12 namespace lariov{
13 
14  /**
15  \class DetPedestalService
16  art service interface for detector pedestal conditions retrieval
17  */
19 
20  public:
22 
23  virtual ~DetPedestalService() = default;
24 
25  //retrieve pedestal provider
27  return this->DoGetPedestalProvider();
28  }
29 
31  { return &DoGetPedestalProvider(); }
32 
33 
34  private:
35 
36  virtual const DetPedestalProvider& DoGetPedestalProvider() const = 0;
37  };
38 }//end namespace lariov
39 
41 
42 
43 #endif
virtual const DetPedestalProvider & DoGetPedestalProvider() const =0
const DetPedestalProvider & GetPedestalProvider() const
DetPedestalProvider const * provider() const
Filters for channels, events, etc.
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
virtual ~DetPedestalService()=default