9 "Parity",
"BCID",
"SampleHeader",
"EVTID",
"ScacStatus",
"ScaOutOfRange",
10 "GainMismatch",
"TypeMismatch",
"NumOfSamples",
"EmptyDataBlock",
"DspBlockSize",
"CheckSum",
"MissingHeader",
23 std::map<unsigned int ,uint16_t>::const_iterator it =
m_feb_errors.find(
id.get_identifier32().get_compact() ) ;
36 std::map<unsigned int, uint16_t>::const_iterator it =
m_feb_errors.find(
id) ;
65 if (!str_err.empty()) str_err+=
":" ;
bool set_feb_error(unsigned int febid, uint16_t e)
Add another FEB error record, return true if added successfully.
static const std::string m_errorStrings[N_LArFebErrorType]
void clear()
clear internal map
~LArFebErrorSummary()
Destructor.
static std::string error_to_string(uint16_t error)
interpret the error in string
const std::map< unsigned int, uint16_t > & get_all_febs() const
get all febs with error
std::map< unsigned int, uint16_t > m_feb_errors
error is stored in a map with key = feb id
uint16_t feb_error(HWIdentifier febid) const
get error for feb
LArFebErrorSummary()
Constructor with FEB Id.