5#ifndef LArBadChanFebState_H
6#define LArBadChanFebState_H
23 if (
m_vec.capacity() != 0) std::vector<LArBadChannel>().swap(
m_vec);
42 m_vec.at(chan) = chanState;
51 if (
bad())
return badState;
52 else return goodState;
66 std::vector<LArBadChannel>
m_vec;
LArBadChannel status(unsigned int chan) const
Returns an OR of the channel status and the missing FEB status.
bool empty() const
Returns true if there are no bad channels in the FEB.
LArBadChannel setBadState() const
std::vector< LArBadChannel > m_vec
void setFebStatus(LArBadFeb s)
bool bad() const
Returns true if the entire FEB is missing.
void addChannel(unsigned int chan, LArBadChannel chanState)
LArBadFeb febStatus() const
Returns the FEB state.
BitWord packedData() const
void setBit(typename T::ProblemType pb, LArBadChannel::BitWord &word, bool value=true) const