GArPropertiesServiceStandard_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // GArProperties_plugin
4 //
5 ////////////////////////////////////////////////////////////////////////
6 // Framework includes
7 
8 // C++ language includes
9 #include <iostream>
10 
11 // GArSoft includes
13 
14 // ROOT includes
15 #include "TMath.h"
16 
17 // Framework includes
19 #include "cetlib_except/exception.h"
20 
21 //-----------------------------------------------
24 {
26 
27  this->reconfigure(pset);
29 }
30 
31 //----------------------------------------------
33 {
34  fProp->Update(run.id().run());
35 }
36 
37 
38 
39 //------------------------------------------------
40 /// \todo these values should eventually come from a database
42 {
43  fProp->Configure(pset);
44  return;
45 }
46 
47 //------------------------------------------------
GArPropertiesServiceStandard(fhicl::ParameterSet const &pset,::art::ActivityRegistry &reg)
Properties related to liquid argon environment in the detector.
std::unique_ptr< detinfo::GArPropertiesStandard > fProp
GlobalSignal< detail::SignalResponseType::FIFO, void(Run const &)> sPreBeginRun
virtual void reconfigure(fhicl::ParameterSet const &pset) override
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)