All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LArPropertiesServiceStandard.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // LArPropertiesServiceStandard.h
3 //
4 // Service interface for Utility LAr functions
5 //
6 // jpaley@fnal.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef LARPROPERTIESSERVICESTANDARD_H
10 #define LARPROPERTIESSERVICESTANDARD_H
11 
14 
15 #include "art/Framework/Services/Registry/ActivityRegistry.h"
16 #include "art/Framework/Services/Registry/ServiceHandle.h"
17 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
18 
19 namespace art {
20  class Run;
21 }
22 
23 namespace detinfo {
25  public:
26  using Parameters = art::ServiceTable<detinfo::LArPropertiesStandard::ConfigurationParameters_t>;
27  LArPropertiesServiceStandard(Parameters const& params, art::ActivityRegistry& reg);
28 
29  private:
30  provider_type const*
31  provider() const override
32  {
33  return &fProp;
34  }
35 
36  void preBeginRun(art::Run const& run);
37 
39  };
40 } //namespace detinfo
41 
42 DECLARE_ART_SERVICE_INTERFACE_IMPL(detinfo::LArPropertiesServiceStandard,
44  SHARED)
45 
46 #endif // LARPROPERTIESSERVICESTANDARD_H
provider_type const * provider() const override
Service provider with utility LAr functions.
LArPropertiesServiceStandard(Parameters const &params, art::ActivityRegistry &reg)
art::ServiceTable< detinfo::LArPropertiesStandard::ConfigurationParameters_t > Parameters
Properties related to liquid argon environment in the detector.