35 std::stringstream status;
37 status <<
"ErrorCode: " << this->
errorCode() << std::endl;
39 status <<
"Bit " << std::setw(2) <<
BadAdcBit
43 status <<
"Bit " << std::setw(2) <<
BadMcmBit
48 <<
": FrontEndDeadBit: "
52 <<
": ReceiverDeadBit: "
56 <<
": HighVoltsOffBit: "
60 <<
": LowVoltsOffBit: "
64 <<
": NoisyTowerBit: "
68 <<
": PSCellsMaskedBit: "
72 <<
": FrontCellsMaskedBit: "
76 <<
": MiddleCellsMaskedBit: "
80 <<
": BackCellsMaskedBit: "
88 output <<
r.errorCode();
std::ostream & operator<<(std::ostream &output, const ChanDeadErrorCode &r)
bool bitIsSet(unsigned int number) const
unsigned int errorCode() const
AbstractErrorCode(unsigned int errorCode)
ChanDeadErrorCode & operator=(const ChanDeadErrorCode &e)
ChanDeadErrorCode & operator|=(const ChanDeadErrorCode &e)
std::string printStatus() const