GArPropertiesServiceStandard.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // GArPropertiesServiceStandard.h
3 //
4 // Service interface for Utility LAr functions
5 //
6 // jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef GArPropertiesSERVICESTANDARD_H
10 #define GArPropertiesSERVICESTANDARD_H
11 
12 #include "fhiclcpp/ParameterSet.h"
20 
21 ///General GArSoft Utilities
22 namespace gar {
23  namespace detinfo{
25  public:
26 
27  // this enables art to print the configuration help:
29 
32 
33  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
34  void preBeginRun(const ::art::Run& run);
35 
36  virtual const provider_type* provider() const override { return fProp.get();}
37 
38  private:
39 
40  std::unique_ptr<detinfo::GArPropertiesStandard> fProp;
41 
42  }; // class GArPropertiesServiceStandard
43  } //namespace detinfo
44 } // gar
45 
48  LEGACY)
49 
50 #endif // GArPropertiesSERVICESTANDARD_H
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
virtual const provider_type * provider() const override
GArPropertiesServiceStandard(fhicl::ParameterSet const &pset,::art::ActivityRegistry &reg)
std::unique_ptr< detinfo::GArPropertiesStandard > fProp
General LArSoft Utilities.
General GArSoft Utilities.
virtual void reconfigure(fhicl::ParameterSet const &pset) override