DetectorPropertiesService.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // DetectorPropertiesService.h
3 //
4 // Pure virtual service interface for DetectorProperties functions
5 //
6 // jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef DETECTORPROPERTIESSERVICE_H
10 #define DETECTORPROPERTIESSERVICE_H
11 
12 #include "fhiclcpp/ParameterSet.h"
15 #include "DetectorInfo/DetectorProperties.h"
16 #include "CoreUtils/ServiceUtil.h"
17 
18 ///General GArSoft Utilities
19 namespace gar {
20  namespace detinfo{
22 
23  public:
25 
26  public:
27  virtual ~DetectorPropertiesService() = default;
28 
29  virtual void reconfigure(fhicl::ParameterSet const& pset) = 0;
30  virtual const detinfo::DetectorProperties* provider() const = 0;
31 
32  }; // class DetectorPropertiesService
33  } //namespace detinfo
34 } // gar
35 
37 #endif // DETECTORPROPERTIESSERVICE_H
virtual const detinfo::DetectorProperties * provider() const =0
General LArSoft Utilities.
General GArSoft Utilities.
virtual void reconfigure(fhicl::ParameterSet const &pset)=0
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)