A class that stores the bad channels of a single FEB.
More...
#include <LArBadChanFebState.h>
A class that stores the bad channels of a single FEB.
Definition at line 17 of file LArBadChanFebState.h.
◆ LArBadChanFebState()
| LArBadChanFebState::LArBadChanFebState |
( |
| ) |
|
|
inline |
◆ addChannel()
| void LArBadChanFebState::addChannel |
( |
unsigned int | chan, |
|
|
LArBadChannel | chanState ) |
|
inline |
◆ bad()
| bool LArBadChanFebState::bad |
( |
| ) |
const |
|
inline |
◆ empty()
| bool LArBadChanFebState::empty |
( |
| ) |
const |
|
inline |
◆ febStatus()
| LArBadFeb LArBadChanFebState::febStatus |
( |
| ) |
const |
|
inline |
◆ resetBad()
| void LArBadChanFebState::resetBad |
( |
| ) |
|
|
inline |
◆ resetChannels()
| void LArBadChanFebState::resetChannels |
( |
| ) |
|
|
inline |
◆ setBadState()
Definition at line 68 of file LArBadChanFebState.h.
68 {
69 LArBadChanBitPacking packing;
70 LArBadChannel bs;
72 return bs;
73 }
void setBit(typename T::ProblemType pb, LArBadChannel::BitWord &word, bool value=true) const
◆ setFebStatus()
| void LArBadChanFebState::setFebStatus |
( |
LArBadFeb | s | ) |
|
|
inline |
◆ status()
| LArBadChannel LArBadChanFebState::status |
( |
unsigned int | chan | ) |
const |
|
inline |
Returns an OR of the channel status and the missing FEB status.
Definition at line 46 of file LArBadChanFebState.h.
46 {
47 static LArBadChannel goodState(0);
49
51 if (
bad())
return badState;
52 else return goodState;
53 }
54 else {
56 else return LArBadChannel(
m_vec.at(chan).packedData() | badState.
packedData());
57 }
58
59
60
61 }
bool empty() const
Returns true if there are no bad channels in the FEB.
LArBadChannel setBadState() const
bool bad() const
Returns true if the entire FEB is missing.
BitWord packedData() const
◆ m_status
◆ m_vec
The documentation for this class was generated from the following file: