LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lariov::SIOVElectronicsCalibService Class Reference
Inheritance diagram for lariov::SIOVElectronicsCalibService:

Public Member Functions

 SIOVElectronicsCalibService (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
 ~SIOVElectronicsCalibService ()
 
void PreProcessEvent (const art::Event &evt)
 

Private Member Functions

ElectronicsCalibProvider const & DoGetProvider () const override
 
ElectronicsCalibProvider const * DoGetProviderPtr () const override
 

Private Attributes

SIOVElectronicsCalibProvider fProvider
 

Detailed Description

art service implementation of ElectronicsCalibService. Implements an electronics calibration retrieval service for database scheme in which all elements in a database folder share a common interval of validity

Definition at line 19 of file SIOVElectronicsCalibService_service.cc.

Constructor & Destructor Documentation

lariov::SIOVElectronicsCalibService::SIOVElectronicsCalibService ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)

Definition at line 49 of file SIOVElectronicsCalibService_service.cc.

References DEFINE_ART_SERVICE_INTERFACE_IMPL, PreProcessEvent(), and art::ActivityRegistry::sPreProcessEvent.

50  : fProvider(pset.get<fhicl::ParameterSet>("ElectronicsCalibProvider"))
51  {
52  //register callback to update local database cache before each event is processed
54  }
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &)> sPreProcessEvent
lariov::SIOVElectronicsCalibService::~SIOVElectronicsCalibService ( )
inline

Definition at line 24 of file SIOVElectronicsCalibService_service.cc.

24 {}

Member Function Documentation

ElectronicsCalibProvider const& lariov::SIOVElectronicsCalibService::DoGetProvider ( ) const
inlineoverrideprivate

Definition at line 32 of file SIOVElectronicsCalibService_service.cc.

References fProvider.

32  {
33  return fProvider;
34  }
ElectronicsCalibProvider const* lariov::SIOVElectronicsCalibService::DoGetProviderPtr ( ) const
inlineoverrideprivate

Definition at line 36 of file SIOVElectronicsCalibService_service.cc.

References fProvider.

36  {
37  return &fProvider;
38  }
void lariov::SIOVElectronicsCalibService::PreProcessEvent ( const art::Event evt)
inline

Definition at line 26 of file SIOVElectronicsCalibService_service.cc.

References fProvider, art::Event::time(), lariov::SIOVElectronicsCalibProvider::UpdateTimeStamp(), and art::Timestamp::value().

Referenced by SIOVElectronicsCalibService().

26  {
28  }
constexpr TimeValue_t value() const
Definition: Timestamp.h:24
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
Timestamp time() const
Definition: Event.h:61

Member Data Documentation

SIOVElectronicsCalibProvider lariov::SIOVElectronicsCalibService::fProvider
private

The documentation for this class was generated from the following file: