|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LArBadChanFebState_H
6 #define LArBadChanFebState_H
23 if (
m_vec.capacity() != 0) std::vector<LArBadChannel>().swap(
m_vec);
51 if (
bad())
return badState;
52 else return goodState;
66 std::vector<LArBadChannel>
m_vec;
bool empty() const
Returns true if there are no bad channels in the FEB.
LArBadFeb febStatus() const
Returns the FEB state.
std::vector< LArBadChannel > m_vec
LArBadChannel status(unsigned int chan) const
Returns an OR of the channel status and the missing FEB status.
bool good() const
Returns true if no problems at all (all bits at zero)
LArBadChannel setBadState() const
BitWord packedData() const
void setFebStatus(LArBadFeb s)
void addChannel(unsigned int chan, LArBadChannel chanState)
A class that stores the bad channels of a single FEB.
void setBit(typename T::ProblemType pb, LArBadChannel::BitWord &word, bool value=true) const
bool bad() const
Returns true if the entire FEB is missing.