5#ifndef LARFEBERRORSUMMARY_H
6#define LARFEBERRORSUMMARY_H
44 const std::map<unsigned int,uint16_t>&
get_all_febs()
const ;
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Holds information from the FEB Error Summary.
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.