10 #ifndef SIOVCHANNELSTATUSPROVIDER_H
11 #define SIOVCHANNELSTATUSPROVIDER_H 1
23 namespace fhicl {
class ParameterSet; }
140 #endif // SIOVCHANNELSTATUSPROVIDER_H
virtual ~SIOVChannelStatusProvider()=default
Default destructor.
Status_t Status(raw::ChannelID_t channel) const override
Returns a status integer with arbitrary meaning.
ChannelSet_t GoodChannels() const override
Returns a copy of set of good channel IDs for the current run.
std::set< raw::ChannelID_t > ChannelSet_t
Type of set of channel IDs.
DataSource::ds fDataSource
bool IsNoisy(raw::ChannelID_t channel) const override
Returns whether the specified channel is noisy in the current run.
static DBChannelID_t rawToDBChannel(raw::ChannelID_t channel)
Converts LArSoft channel ID in the one proper for the DB.
DBTimeStamp_t fEventTimeStamp
std::uint32_t DBChannelID_t
Class def header for a class Snapshot.
ChannelSet_t NoisyChannels() const override
Returns a copy of set of noisy channel IDs for the current run.
std::uint64_t DBTimeStamp_t
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
Class providing information about the quality of channels.
unsigned short Status_t
type representing channel status
Snapshot< ChannelStatus > fData
bool IsGood(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and good.
DBTimeStamp_t fCurrentTimeStamp
Class providing information about the quality of channels.
ChannelSet_t BadChannels() const override
Returns a copy of set of bad channel IDs for the current run.
Class def header for a class DatabaseRetrievalAlg.
bool IsBad(raw::ChannelID_t channel) const override
Returns whether the specified channel is bad in the current run.
ChannelSet_t GetChannelsWithStatus(chStatus status) const
const ChannelStatus & GetChannelStatus(raw::ChannelID_t channel) const
Returns Channel Status.
Interface for experiment-specific channel quality info provider.
Snapshot< ChannelStatus > fNewNoisy
bool Update(DBTimeStamp_t)
bool DBUpdate() const
Do actual database updates.
SIOVChannelStatusProvider(fhicl::ParameterSet const &pset)
Constructor.
void AddNoisyChannel(raw::ChannelID_t ch)
Allows a service to add to the list of noisy channels.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
bool IsPresent(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and connected to wire.
Class def header for a class ChannelStatus.