10 #ifndef SIOVCHANNELSTATUSPROVIDER_H 11 #define SIOVCHANNELSTATUSPROVIDER_H 1 14 #include "larevt/CalibrationDBI/Interface/ChannelStatusProvider.h" 16 #include "larevt/CalibrationDBI/IOVData/ChannelStatus.h" 17 #include "larevt/CalibrationDBI/IOVData/Snapshot.h" 98 bool Update(DBTimeStamp_t);
108 {
return DBChannelID_t(channel); }
125 #endif // SIOVCHANNELSTATUSPROVIDER_H virtual ~SIOVChannelStatusProvider()=default
Default destructor.
bool IsPresent(raw::ChannelID_t channel) const override
Returns whether the specified channel is bad in the current run.
DataSource::ds fDataSource
static DBChannelID_t rawToDBChannel(raw::ChannelID_t channel)
Converts LArSoft channel ID in the one proper for the DB.
ChannelSet_t GoodChannels() const override
Returns a copy of set of bad channel IDs for the current run.
ChannelSet_t BadChannels() const override
Returns a copy of set of bad channel IDs for the current run.
bool IsNoisy(raw::ChannelID_t channel) const override
Returns whether the specified channel is noisy in the current run.
Status_t Status(raw::ChannelID_t channel) const override
Class providing information about the quality of channels.
Snapshot< ChannelStatus > fData
bool IsBad(raw::ChannelID_t channel) const override
Returns whether the specified channel is bad in the current run.
Class def header for a class DatabaseRetrievalAlg.
Filters for channels, events, etc.
ChannelSet_t GetChannelsWithStatus(chStatus status) const
bool IsGood(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and good.
const ChannelStatus & GetChannelStatus(raw::ChannelID_t channel) const
Returns Channel Status.
Snapshot< ChannelStatus > fNewNoisy
bool Update(DBTimeStamp_t)
Allows a service to add to the list of noisy channels.
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.
ChannelSet_t NoisyChannels() const override
Returns a copy of set of noisy channel IDs for the current run.