21 for (
const std::pair<const unsigned int, uint16_t>& p :
34 log<<MSG::ERROR<<
" In LArFebErrorSummaryCnv_p1::persToTrans, size of ids and errors are not the same "<<
endmsg;
43 for (
unsigned int i = 0;i<
sz;++i){
46 log<<MSG::ERROR<<
" In LArFebErrorSummaryCnv_p1::persToTrans, failed to add a feb_id, and error "<<pers->
m_feb_ids[i]
virtual void persToTrans(const LArFebErrorSummary_p1 *pers, LArFebErrorSummary *trans, MsgStream &log) const override
virtual void transToPers(const LArFebErrorSummary *trans, LArFebErrorSummary_p1 *pers, MsgStream &log) const override
persistent class for LArFebErrorSummary, version p2.
std::vector< unsigned int > m_feb_ids
std::vector< uint16_t > m_feb_errors
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.
void clear()
clear internal map
const std::map< unsigned int, uint16_t > & get_all_febs() const
get all febs with error