24 #include "larevt/CalibrationDBI/Interface/ChannelStatusProvider.h" 25 #include "larevt/CalibrationDBI/Interface/ChannelStatusService.h" 41 try : provider(
art::ServiceHandle<
lariov::ChannelStatusService const>()->GetProvider()) {
43 MF_LOG_ERROR(
"ChannelFilter") <<
"ChannelFilter is now deprecated." 44 " Replace it with ChannelStatusService";
50 <<
"Failed to obtain an instance of ChannelStatusService service;" 51 " you should update your configuration, *and* update the code using" 52 " ChannelFilter, that is deprecated." 53 " An example are in ChannelFilter class documentation";
87 else if (!
provider.IsPresent(channel))
bool NoisyChannel(uint32_t channel) const
ChannelStatus GetChannelStatus(uint32_t channel) const
bool BadChannel(uint32_t channel) const
#define MF_LOG_ERROR(category)
std::set< uint32_t > SetOfNoisyChannels() const
Filters for channels, events, etc.
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
lariov::ChannelStatusProvider const & provider
object doing the job
#define MF_LOG_SYSTEM(category)
std::set< uint32_t > SetOfBadChannels() const