10 #ifndef SIOVCHANNELSTATUSPROVIDER_H 11 #define SIOVCHANNELSTATUSPROVIDER_H 1 23 namespace fhicl {
class ParameterSet; }
61 return GetChannelStatus(channel).
IsPresent();
66 return GetChannelStatus(channel).
IsDead() || GetChannelStatus(channel).
IsLowNoise() || !IsPresent(channel);
71 return GetChannelStatus(channel).
IsNoisy();
76 return GetChannelStatus(channel).
IsGood();
119 bool DBUpdate()
const;
140 #endif // SIOVCHANNELSTATUSPROVIDER_H bool IsPresent(raw::ChannelID_t channel) const override
Returns whether the specified channel is physical and connected to wire.
std::set< raw::ChannelID_t > ChannelSet_t
Type of set of channel IDs.
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
std::uint32_t DBChannelID_t
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.
std::uint64_t DBTimeStamp_t
Status_t Status(raw::ChannelID_t channel) const override
Returns a status integer with arbitrary meaning.
Class providing information about the quality of channels.
unsigned short Status_t
type representing channel status
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 providing information about the quality of channels.
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.
Interface for experiment-specific channel quality info provider.
Snapshot< ChannelStatus > fNewNoisy
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Class def header for a class ChannelStatus.
bool Update(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, bool prt)