|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/DataObject.h"
16 #include "GaudiKernel/IToolSvc.h"
17 #include "GaudiKernel/MsgStream.h"
18 #include "GaudiKernel/StatusCode.h"
26 AthConstConverter(storageType(), classID(), svcloc,
"TgcRdoContByteStreamCnv"), m_tool(
"Muon::TgcRdoContByteStreamTool") {}
38 return StatusCode::SUCCESS;
48 return StatusCode::FAILURE;
52 std::string
nm = pObj->registry()->name();
56 return m_tool->convert(cont);
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
convert to and from a SG storable
Gaudi converter base class with const interfaces.
static const CLID & ID()
the CLID of T
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< Muon::ITGC_RDOtoByteStreamTool > m_tool
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static long storageType()
uint32_t CLID
The Class ID type.
static constexpr long storageType()
TgcRdoContByteStreamCnv(ISvcLocator *svcloc)
static const CLID & classID()
const std::string const_cnvName
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.