8 #include "GaudiKernel/IInterface.h"
9 #include "GaudiKernel/MsgStream.h"
10 #include "GaudiKernel/StatusCode.h"
18 static const InterfaceID IID_IL1CaloErrorByteStreamTool(
19 "L1CaloErrorByteStreamTool", 1, 1);
23 return IID_IL1CaloErrorByteStreamTool;
29 const std::string&
name,
33 declareInterface<L1CaloErrorByteStreamTool>(
this);
49 return StatusCode::SUCCESS;
56 return StatusCode::SUCCESS;
62 const unsigned int err)
const
65 std::scoped_lock lock (maps.
m_mutex);
75 const unsigned int err)
const
78 std::scoped_lock lock (maps.
m_mutex);
91 std::scoped_lock lock (maps.
m_mutex);
93 errColl->push_back(maps.
m_robMap.size());
94 ErrorMap::const_iterator iter = maps.
m_robMap.begin();
95 ErrorMap::const_iterator iterE = maps.
m_robMap.end();
96 for (; iter != iterE; ++iter) {
97 errColl->push_back(iter->first);
98 errColl->push_back(iter->second);
103 for (; iter != iterE; ++iter) {
104 errColl->push_back(iter->first);
105 errColl->push_back(iter->second);
109 return StatusCode::SUCCESS;