Service providing information about the quality of channels. More...
#include <SimpleChannelStatusService.h>
Public Member Functions | |
SimpleChannelStatusService (fhicl::ParameterSet const &pset) | |
Constructor: reads the channel IDs from the configuration. More... | |
Public Member Functions inherited from lariov::ChannelStatusService | |
virtual | ~ChannelStatusService ()=default |
Destructor. More... | |
ChannelStatusProvider const * | provider () const |
ChannelStatusProvider const & | GetProvider () const |
Returns a reference to the service provider. More... | |
ChannelStatusProvider const & | GetFilter () const |
ChannelStatusProvider const * | GetProviderPtr () const |
Returns a pointer to the service provider. More... | |
ChannelStatusProvider const * | GetFilterPtr () const |
Private Member Functions | |
virtual ChannelStatusProvider const & | DoGetProvider () const override |
Returns a reference to the service provider. More... | |
virtual ChannelStatusProvider const * | DoGetProviderPtr () const override |
Returns a pointer to the service provider. More... | |
void | UpdateChannelRange () |
Update valid channel range. More... | |
void | postBeginRun (art::Run const &run) |
React to a new run. More... | |
Private Attributes | |
std::unique_ptr< SimpleChannelStatus > | fProvider |
Additional Inherited Members | |
Public Types inherited from lariov::ChannelStatusService | |
using | provider_type = ChannelStatusProvider |
Service providing information about the quality of channels.
This is a simple implementation of the ChannelStatusService service interface. Channel lists are passed by FHiCL configuration. Note that there is no support for conditions varying with time.
In addition to the parameters supported by filter::SimpleChannelStatus, this service supports:
Definition at line 49 of file SimpleChannelStatusService.h.
lariov::SimpleChannelStatusService::SimpleChannelStatusService | ( | fhicl::ParameterSet const & | pset | ) |
Constructor: reads the channel IDs from the configuration.
Definition at line 23 of file SimpleChannelStatusService_service.cc.
|
inlineoverrideprivatevirtual |
Returns a reference to the service provider.
Implements lariov::ChannelStatusService.
Definition at line 58 of file SimpleChannelStatusService.h.
|
inlineoverrideprivatevirtual |
Returns a pointer to the service provider.
Implements lariov::ChannelStatusService.
Definition at line 60 of file SimpleChannelStatusService.h.
|
private |
React to a new run.
|
private |
Update valid channel range.
|
private |
Definition at line 69 of file SimpleChannelStatusService.h.