9 #ifndef SIOVCHANNELSTATUSPROVIDER_H 10 #define SIOVCHANNELSTATUSPROVIDER_H 1 17 #include "larevt/CalibrationDBI/Interface/CalibrationDBIFwd.h" 18 #include "larevt/CalibrationDBI/Interface/ChannelStatusProvider.h" 61 return GetChannelStatus(channel).
IsPresent();
67 return GetChannelStatus(channel).
IsDead() || GetChannelStatus(channel).
IsLowNoise() ||
74 return GetChannelStatus(channel).
IsNoisy();
80 return GetChannelStatus(channel).
IsGood();
86 return (Status_t)this->GetChannelStatus(channel).
Status();
92 ChannelSet_t GoodChannels()
const override;
95 ChannelSet_t BadChannels()
const override;
98 ChannelSet_t NoisyChannels()
const override;
102 void UpdateTimeStamp(DBTimeStamp_t ts);
107 bool Update(DBTimeStamp_t);
120 bool DBUpdate()
const;
121 bool DBUpdate(DBTimeStamp_t ts)
const;
133 ChannelSet_t GetChannelsWithStatus(
chStatus status)
const;
139 #endif // SIOVCHANNELSTATUSPROVIDER_H 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.
DBTimeStamp_t fEventTimeStamp
Class def header for a class Snapshot.
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
bool Update(detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp)
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.
DBTimeStamp_t fCurrentTimeStamp
Class def header for a class DatabaseRetrievalAlg.
Filters for channels, events, etc.
bool IsGood(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and good.
Snapshot< ChannelStatus > fNewNoisy
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Class def header for a class ChannelStatus.