SpaceChargeServiceStandard.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SpaceChargeServiceStandard.h
3 //
4 // \brief header of service for storing/accessing space charge distortions
5 //
6 // \author mrmooney@bnl.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef SPACECHARGESERVICESTANDARD_H
10 #define SPACECHARGESERVICESTANDARD_H
11 
16 #include "fhiclcpp/ParameterSet.h"
19 
20 namespace spacecharge {
22  public:
23  // this enables art to print the configuration help:
24  // using Parameters =
25  // art::ServiceTable<spacecharge::SpaceChargeStandard::ConfigurationParameters_t>;
26 
28 
29  private:
30  void reconfigure(fhicl::ParameterSet const& pset);
31  void preBeginRun(const art::Run& run);
32 
33  const provider_type*
34  provider() const override
35  {
36  return &fProp;
37  }
38 
40 
41  }; // class SpaceChargeServiceStandard
42 } // namespace spacecharge
43 
46  SHARED)
47 
48 #endif // SPACECHARGESERVICESTANDARD_H
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
Definition: Run.h:17
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
const provider_type * provider() const override