SpaceChargeService3x1x1dphase.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SpaceChargeServiceProtoDUNE.h
3 //
4 // \brief header of service for storing/accessing space charge distortions for the 3x1x1 detector.
5 // \Adapted from SpaceChargeServiceProtoDUNE.h
6 //
7 // \author kevin.fusshoeller@cern.ch
8 //
9 ////////////////////////////////////////////////////////////////////////
10 #ifndef SPACECHARGESERVICE3X1X1DPHASE_H
11 #define SPACECHARGESERVICE3X1X1DPHASE_H
12 
13 #include "fhiclcpp/ParameterSet.h"
20 
21 
22 namespace spacecharge{
24  public:
25 
26  // this enables art to print the configuration help:
27  //using Parameters = art::ServiceTable<spacecharge::SpaceCharge3x1x1dphase::ConfigurationParameters_t>;
28 
30 
31  void reconfigure(fhicl::ParameterSet const& pset);
32  void preBeginRun(const art::Run& run);
33 
34 
35  virtual const provider_type* provider() const override { return fProp.get();}
36 
37  private:
38 
39  std::unique_ptr<spacecharge::SpaceCharge3x1x1dphase> fProp;
40 
41  }; // class SpaceChargeService3x1x1dphase
42 } //namespace spacecharge
44 #endif // SPACECHARGESERVICE3X1X1DPHASE_H
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
std::unique_ptr< spacecharge::SpaceCharge3x1x1dphase > fProp
Definition: Run.h:17
SpaceChargeService3x1x1dphase(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
virtual const provider_type * provider() const override