Public Member Functions | Private Member Functions | Private Attributes | List of all members
lariov::SIOVDetPedestalService Class Reference
Inheritance diagram for lariov::SIOVDetPedestalService:
lariov::DetPedestalService

Public Member Functions

 SIOVDetPedestalService (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
 ~SIOVDetPedestalService ()
 
void PreProcessEvent (const art::Event &evt, art::ScheduleContext)
 
- Public Member Functions inherited from lariov::DetPedestalService
virtual ~DetPedestalService ()=default
 
const DetPedestalProviderGetPedestalProvider () const
 
DetPedestalProvider const * provider () const
 

Private Member Functions

const DetPedestalProviderDoGetPedestalProvider () const override
 

Private Attributes

DetPedestalRetrievalAlg fProvider
 

Additional Inherited Members

- Public Types inherited from lariov::DetPedestalService
using provider_type = DetPedestalProvider
 

Detailed Description

art service implementation of DetPedestalService. Implements a detector pedestal retrieval service for database scheme in which all elements in a database folder share a common interval of validity

Definition at line 17 of file SIOVDetPedestalService_service.cc.

Constructor & Destructor Documentation

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

Definition at line 43 of file SIOVDetPedestalService_service.cc.

44  : fProvider(pset.get<fhicl::ParameterSet>("DetPedestalRetrievalAlg"))
45  {
46  //register callback to update local database cache before each event is processed
47  //reg.sPreProcessEvent.watch(&SIOVDetPedestalService::PreProcessEvent, *this);
49  }
void PreProcessEvent(const art::Event &evt, art::ScheduleContext)
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
lariov::SIOVDetPedestalService::~SIOVDetPedestalService ( )
inline

Definition at line 22 of file SIOVDetPedestalService_service.cc.

22 {}

Member Function Documentation

const DetPedestalProvider& lariov::SIOVDetPedestalService::DoGetPedestalProvider ( ) const
inlineoverrideprivatevirtual

Implements lariov::DetPedestalService.

Definition at line 30 of file SIOVDetPedestalService_service.cc.

30  {
31  return fProvider;
32  }
void lariov::SIOVDetPedestalService::PreProcessEvent ( const art::Event evt,
art::ScheduleContext   
)
inline

Definition at line 24 of file SIOVDetPedestalService_service.cc.

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

Member Data Documentation

DetPedestalRetrievalAlg lariov::SIOVDetPedestalService::fProvider
private

Definition at line 34 of file SIOVDetPedestalService_service.cc.


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