8 #include "GaudiKernel/IInterface.h"
9 #include "GaudiKernel/MsgStream.h"
10 #include "GaudiKernel/StatusCode.h"
18 static const InterfaceID IID_IZdcL1CaloErrorByteStreamTool(
19 "L1CaloErrorByteStreamTool", 1, 1);
23 return IID_IZdcL1CaloErrorByteStreamTool;
29 const std::string&
name,
33 declareInterface<ZdcL1CaloErrorByteStreamTool>(
this);
40 const unsigned int err)
const
43 std::scoped_lock lock (maps.
m_mutex);
53 const unsigned int err)
const
56 std::scoped_lock lock (maps.
m_mutex);
69 std::scoped_lock lock (maps.
m_mutex);
71 errColl->push_back(maps.
m_robMap.size());
72 ErrorMap::const_iterator iter = maps.
m_robMap.begin();
73 ErrorMap::const_iterator iterE = maps.
m_robMap.end();
74 for (; iter != iterE; ++iter) {
75 errColl->push_back(iter->first);
76 errColl->push_back(iter->second);
81 for (; iter != iterE; ++iter) {
82 errColl->push_back(iter->first);
83 errColl->push_back(iter->second);
87 return StatusCode::SUCCESS;