LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
LArPropertiesServiceStandard_service.cc
Go to the documentation of this file.
1 //
3 // LArProperties_plugin
4 //
6 // Framework includes
7 
8 // C++ language includes
9 #include <iostream>
10 
11 // LArSoft includes
13 //#include "SimpleTypesAndConstants/PhysicalConstants.h"
14 
15 // ROOT includes
16 #include "TMath.h"
17 
18 // Framework includes
20 #include "cetlib_except/exception.h"
21 //-----------------------------------------------
23 {
25 
26  this->reconfigure(pset);
28 }
29 
30 //----------------------------------------------
32 {
33  fProp->Update(run.id().run());
34 }
35 
36 
37 
38 //------------------------------------------------
41 {
42  fProp->Configure(pset);
43  return;
44 }
45 
46 //------------------------------------------------
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)
virtual void reconfigure(fhicl::ParameterSet const &pset) override
std::unique_ptr< detinfo::LArPropertiesStandard > fProp
RunNumber_t run() const
Definition: RunID.h:63
Definition: Run.h:30
RunID const & id() const
Definition: Run.h:41
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun
Properties related to liquid argon environment in the detector.
LArPropertiesServiceStandard(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)