|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/DataObject.h"
11 #include "GaudiKernel/IOpaqueAddress.h"
12 #include "GaudiKernel/ISvcLocator.h"
13 #include "GaudiKernel/StatusCode.h"
27 :
AthConstConverter( storageType(), classID(), svcloc,
"L1CaloErrorByteStreamCnv" ),
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;
virtual StatusCode initialize() override
std::vector< Identifier > ID
convert to and from a SG storable
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create error vector from ByteStream.
Gaudi converter base class with const interfaces.
virtual ~L1CaloErrorByteStreamCnv()
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_tool
Tool that does the actual work.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
Default, invalid implementation of ClassID_traits.
uint32_t CLID
The Class ID type.
static constexpr long storageType()
static long storageType()
Helpers for checking error return status codes and reporting errors.
static const CLID & classID()
L1CaloErrorByteStreamCnv(ISvcLocator *svcloc)