All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LArPropertiesServiceStandard.cc
Go to the documentation of this file.
2 
3 #include "art/Framework/Principal/Run.h"
4 
5 //------------------------------------------------
6 /// \todo these values should eventually come from a database
7 //-----------------------------------------------
9  art::ActivityRegistry& reg)
10  : fProp{config.get_PSet()}
11 {
12  reg.sPreBeginRun.watch(this, &LArPropertiesServiceStandard::preBeginRun);
13 }
14 
15 //----------------------------------------------
16 void
18 {
19  fProp.Update(run.run());
20 }
21 
LArPropertiesServiceStandard(Parameters const &params, art::ActivityRegistry &reg)
art::ServiceTable< detinfo::LArPropertiesStandard::ConfigurationParameters_t > Parameters