LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
LArPropertiesServiceStandard.h
Go to the documentation of this file.
1 // LArPropertiesServiceStandard.h
3 //
4 // Service interface for Utility LAr functions
5 //
6 // jpaley@fnal.gov
7 //
9 #ifndef LARPROPERTIESSERVICESTANDARD_H
10 #define LARPROPERTIESSERVICESTANDARD_H
11 
12 #include "fhiclcpp/ParameterSet.h"
19 
21 namespace detinfo{
23  public:
24 
25  // this enables art to print the configuration help:
27 
29 
30  virtual void reconfigure(fhicl::ParameterSet const& pset) override;
31  void preBeginRun(const art::Run& run);
32 
33  virtual const provider_type* provider() const override { return fProp.get();}
34 
35  private:
36 
37  std::unique_ptr<detinfo::LArPropertiesStandard> fProp;
38 
39  }; // class LArPropertiesServiceStandard
40 } //namespace detinfo
42 #endif // LARPROPERTIESSERVICESTANDARD_H
Service provider with utility LAr functions.
virtual void reconfigure(fhicl::ParameterSet const &pset) override
std::unique_ptr< detinfo::LArPropertiesStandard > fProp
Definition: Run.h:30
General LArSoft Utilities.
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)
LArPropertiesServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
virtual const provider_type * provider() const override