LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SpaceChargeServiceStandard.cc
Go to the documentation of this file.
1 // \file SpaceChargeStandard.cxx
3 //
4 // \brief implementation of class for storing/accessing space charge distortions
5 //
6 // \author mrmooney@bnl.gov
7 //
9 
10 // C++ language includes
11 
12 // LArSoft includes
14 
15 // Framework includes
16 #include "art/Framework/Principal/Run.h" // for Run
20 #include "fhiclcpp/ParameterSet.h"
21 
22 //-----------------------------------------------
25  : fProp{pset}
26 {
27  reg.sPreBeginRun.watch(this, &SpaceChargeServiceStandard::preBeginRun);
28 }
29 
30 //----------------------------------------------
32 {
33  fProp.Update(run.run());
34 }
35 
36 //------------------------------------------------
38 {
39  fProp.Configure(pset);
40 }
void reconfigure(fhicl::ParameterSet const &pset)
RunNumber_t run() const
Definition: Run.cc:27
Definition: Run.h:37
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
bool Configure(fhicl::ParameterSet const &pset)