10 #ifndef SIMPLECHANNELFILTER_H
11 #define SIMPLECHANNELFILTER_H 1
18 namespace fhicl {
class ParameterSet; }
132 virtual bool Update(std::uint64_t) override { return true; }
157 #endif // SIMPLECHANNELFILTER_H
raw::ChannelID_t MaxChannelPresent() const
Returns the ID of the largest present channel.
ChannelSet_t fNoisyChannels
set of noisy channels
void Setup(raw::ChannelID_t MaxChannel, raw::ChannelID_t MaxGoodChannel)
Sets the service provider up.
virtual ChannelSet_t BadChannels() const override
Returns a copy of set of bad channel IDs for the current run.
std::set< raw::ChannelID_t > ChannelSet_t
Type of set of channel IDs.
virtual bool IsGood(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and good.
std::unique_ptr< ChannelSet_t > fGoodChannels
cached set of good channels (lazy evaluation)
virtual bool IsPresent(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and connected to wire.
raw::ChannelID_t MaxChannel() const
Returns the ID of the largest known channel.
virtual ChannelSet_t NoisyChannels() const override
Returns a copy of set of noisy channel IDs for the current run.
raw::ChannelID_t fMaxPresentChannel
largest ID among present channels
ChannelSet_t fBadChannels
set of bad channels
Class providing information about the quality of channels.
lariov::ChannelStatusProvider::ChannelSet_t ChannelSet_t
void FillGoodChannels() const
Fills the collection of good channels.
virtual ChannelSet_t GoodChannels() const override
Returns a copy of set of good channel IDs for the current run.
virtual bool IsBad(raw::ChannelID_t channel) const override
Returns whether the specified channel is bad in the current run.
Interface for experiment-specific channel quality info provider.
Class providing information about the quality of channels.
void Setup(raw::ChannelID_t MaxChannel)
Sets the service provider up.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
virtual bool IsNoisy(raw::ChannelID_t channel) const override
Returns whether the specified channel is noisy in the current run.
raw::ChannelID_t fMaxChannel
largest ID among existing channels
SimpleChannelStatus(fhicl::ParameterSet const &pset)
Configuration.