LArPropertiesServiceStandard_service.cc
Go to the documentation of this file.
2 
4 
5 //------------------------------------------------
6 /// \todo these values should eventually come from a database
7 //-----------------------------------------------
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 
22 //------------------------------------------------
LArPropertiesServiceStandard(Parameters const &params, art::ActivityRegistry &reg)
Definition: Run.h:17
static Config * config
Definition: config.cpp:1054
fhicl::ParameterSet const & get_PSet() const
Definition: ServiceTable.h:40
RunNumber_t run() const
Definition: DataViewImpl.cc:71
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)