SIOVElectronicsCalibService_service.cc
Go to the documentation of this file.
8 
9 namespace lariov{
10 
11  /**
12  \class SIOVElectronicsCalibService
13  art service implementation of ElectronicsCalibService. Implements
14  an electronics calibration retrieval service for database scheme in which
15  all elements in a database folder share a common interval of validity
16  */
18 
19  public:
20 
23 
26  }
27 
28  private:
29 
30  ElectronicsCalibProvider const& DoGetProvider() const override {
31  return fProvider;
32  }
33 
34  ElectronicsCalibProvider const* DoGetProviderPtr() const override {
35  return &fProvider;
36  }
37 
39  };
40 }//end namespace lariov
41 
43 
44 
45 namespace lariov{
46 
48  : fProvider(pset.get<fhicl::ParameterSet>("ElectronicsCalibProvider"))
49  {
50  //register callback to update local database cache before each event is processed
52  }
53 
54 }//end namespace lariov
55 
Class def header for a class SIOVElectronicsCalibProvider.
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
SIOVElectronicsCalibService(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
Retrieves information: electronics calibrations, specifically gain and shaping time.
constexpr TimeValue_t value() const
Definition: Timestamp.h:23
Timestamp time() const
Interface for experiment-specific service for pmt gain info.
ElectronicsCalibProvider const * DoGetProviderPtr() const override
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
Filters for channels, events, etc.
ElectronicsCalibProvider const & DoGetProvider() const override
Returns a reference to the service provider.
TCEvent evt
Definition: DataStructs.cxx:7
auto const & get(AssnsNode< L, R, D > const &r)
Definition: AssnsNode.h:115
void PreProcessEvent(const art::Event &evt, art::ScheduleContext)
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)