All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SpaceChargeServiceStandard.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SpaceChargeStandard.cxx
3 //
4 // \brief implementation of class for storing/accessing space charge distortions
5 //
6 // \author mrmooney@bnl.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 
10 // C++ language includes
11 
12 // LArSoft includes
14 
15 // Framework includes
16 #include "art/Framework/Principal/Run.h" // for Run
17 #include "art/Framework/Services/Registry/ActivityRegistry.h"
18 #include "art/Framework/Services/Registry/GlobalSignal.h"
19 #include "canvas/Persistency/Provenance/RunID.h"
20 #include "fhiclcpp/ParameterSet.h"
21 
22 //-----------------------------------------------
24  art::ActivityRegistry& reg)
25  : fProp{pset}
26 {
27  reg.sPreBeginRun.watch(this, &SpaceChargeServiceStandard::preBeginRun);
28 }
29 
30 //----------------------------------------------
31 void
33 {
34  fProp.Update(run.run());
35 }
36 
37 //------------------------------------------------
38 void
40 {
41  fProp.Configure(pset);
42 }
void reconfigure(fhicl::ParameterSet const &pset)
SpaceChargeServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)