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

Public Member Functions

 SIOVPmtGainService (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 
 ~SIOVPmtGainService ()
 
void PreProcessEvent (const art::Event &evt, art::ScheduleContext)
 
- Public Member Functions inherited from lariov::PmtGainService
virtual ~PmtGainService ()=default
 Destructor. More...
 
PmtGainProvider const & GetProvider () const
 
PmtGainProvider const * GetProviderPtr () const
 

Private Member Functions

PmtGainProvider const & DoGetProvider () const override
 Returns a reference to the service provider. More...
 
PmtGainProvider const * DoGetProviderPtr () const override
 

Private Attributes

SIOVPmtGainProvider fProvider
 

Additional Inherited Members

- Public Types inherited from lariov::PmtGainService
using provider_type = PmtGainProvider
 

Detailed Description

art service implementation of PmtGainService. Implements a pmt gain 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 SIOVPmtGainService_service.cc.

Constructor & Destructor Documentation

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

Definition at line 47 of file SIOVPmtGainService_service.cc.

48  : fProvider(pset.get<fhicl::ParameterSet>("PmtGainProvider"))
49  {
50  //register callback to update local database cache before each event is processed
52  }
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
void PreProcessEvent(const art::Event &evt, art::ScheduleContext)
lariov::SIOVPmtGainService::~SIOVPmtGainService ( )
inline

Definition at line 22 of file SIOVPmtGainService_service.cc.

22 {}

Member Function Documentation

PmtGainProvider const& lariov::SIOVPmtGainService::DoGetProvider ( ) const
inlineoverrideprivatevirtual

Returns a reference to the service provider.

Implements lariov::PmtGainService.

Definition at line 30 of file SIOVPmtGainService_service.cc.

30  {
31  return fProvider;
32  }
PmtGainProvider const* lariov::SIOVPmtGainService::DoGetProviderPtr ( ) const
inlineoverrideprivatevirtual

Implements lariov::PmtGainService.

Definition at line 34 of file SIOVPmtGainService_service.cc.

34  {
35  return &fProvider;
36  }
void lariov::SIOVPmtGainService::PreProcessEvent ( const art::Event evt,
art::ScheduleContext   
)
inline

Definition at line 24 of file SIOVPmtGainService_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

SIOVPmtGainProvider lariov::SIOVPmtGainService::fProvider
private

Definition at line 38 of file SIOVPmtGainService_service.cc.


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