All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetPedestalService.h
Go to the documentation of this file.
1 #ifndef DETPEDESTALSERVICE_H
2 #define DETPEDESTALSERVICE_H
3 
4 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
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 
40 DECLARE_ART_SERVICE_INTERFACE(lariov::DetPedestalService, LEGACY)
41 
42 
43 #endif
Utilities related to art service access.
virtual const DetPedestalProvider & DoGetPedestalProvider() const =0
const DetPedestalProvider & GetPedestalProvider() const
DetPedestalProvider const * provider() const
virtual ~DetPedestalService()=default