LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lariov::SIOVPmtGainService Class Reference
Inheritance diagram for lariov::SIOVPmtGainService:

Public Member Functions

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

Private Member Functions

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

Private Attributes

SIOVPmtGainProvider fProvider
 

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 41 of file SIOVPmtGainService_service.cc.

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

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

Definition at line 21 of file SIOVPmtGainService_service.cc.

21 {}

Member Function Documentation

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

Definition at line 29 of file SIOVPmtGainService_service.cc.

References fProvider.

29 { return fProvider; }
PmtGainProvider const* lariov::SIOVPmtGainService::DoGetProviderPtr ( ) const
inlineoverrideprivate

Definition at line 31 of file SIOVPmtGainService_service.cc.

References fProvider.

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

Definition at line 23 of file SIOVPmtGainService_service.cc.

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

Referenced by SIOVPmtGainService().

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

Member Data Documentation

SIOVPmtGainProvider lariov::SIOVPmtGainService::fProvider
private

Definition at line 33 of file SIOVPmtGainService_service.cc.

Referenced by DoGetProvider(), DoGetProviderPtr(), and PreProcessEvent().


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