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

Public Member Functions

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

Private Member Functions

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

Private Attributes

SIOVChannelStatusProvider fProvider
 

Detailed Description

art service implementation of ChannelStatusService. Implements a channel status 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 SIOVChannelStatusService_service.cc.

Constructor & Destructor Documentation

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

Definition at line 46 of file SIOVChannelStatusService_service.cc.

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

47  : fProvider(pset.get<fhicl::ParameterSet>("ChannelStatusProvider"))
48  {
49 
50  //register callback to update local database cache before each event is processed
52 
53  }
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &)> sPreProcessEvent

Member Function Documentation

const ChannelStatusProvider& lariov::SIOVChannelStatusService::DoGetProvider ( ) const
inlineoverrideprivate

Definition at line 29 of file SIOVChannelStatusService_service.cc.

References fProvider.

29  {
30  return fProvider;
31  }
const ChannelStatusProvider* lariov::SIOVChannelStatusService::DoGetProviderPtr ( ) const
inlineoverrideprivate

Definition at line 33 of file SIOVChannelStatusService_service.cc.

References fProvider.

33  {
34  return &fProvider;
35  }
void lariov::SIOVChannelStatusService::PreProcessEvent ( const art::Event evt)

Definition at line 56 of file SIOVChannelStatusService_service.cc.

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

Referenced by SIOVChannelStatusService().

56  {
57 
58  //First grab an update from the database
60  }
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
constexpr TimeValue_t value() const
Definition: Timestamp.h:24
Timestamp time() const
Definition: Event.h:61

Member Data Documentation

SIOVChannelStatusProvider lariov::SIOVChannelStatusService::fProvider
private

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