10#include "GaudiKernel/DataObject.h"
11#include "GaudiKernel/IOpaqueAddress.h"
12#include "GaudiKernel/ISvcLocator.h"
13#include "GaudiKernel/StatusCode.h"
28 m_tool(
"LVL1BS::L1CaloErrorByteStreamTool/L1CaloErrorByteStreamTool")
56 return StatusCode::SUCCESS;
62 DataObject*& pObj )
const
68 return StatusCode::FAILURE;
71 const std::string nm = *( pBS_Addr->par() );
75 auto errCollection = std::make_unique<std::vector<unsigned int> >();
81 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
std::vector< Identifier > ID
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Helpers for checking error return status codes and reporting errors.
uint32_t CLID
The Class ID type.
convert to and from a SG storable
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
static long storageType()
virtual ~L1CaloErrorByteStreamCnv()
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create error vector from ByteStream.
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_tool
Tool that does the actual work.
static const CLID & classID()
virtual StatusCode initialize() override
L1CaloErrorByteStreamCnv(ISvcLocator *svcloc)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
Default, invalid implementation of ClassID_traits.