ATLAS Offline Software
MdtCsmContByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONBYTESTREAM_MDTCSMCONTRAWEVENTCNV_H
6 #define MUONBYTESTREAM_MDTCSMCONTRAWEVENTCNV_H
7 
8 #include <string>
9 
12 #include "GaudiKernel/ToolHandle.h"
14 
16 public:
17  MdtCsmContByteStreamCnv(ISvcLocator* svcloc);
18 
19  virtual StatusCode initialize() override;
20  virtual StatusCode createObjConst(IOpaqueAddress* , DataObject*& ) const override { return StatusCode::FAILURE; }
21  virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
22 
24  virtual long repSvcType() const override { return i_repSvcType(); }
25  static long storageType();
26  static const CLID& classID();
27 
28 private:
29  ToolHandle<Muon::IMDT_RDOtoByteStreamTool> m_tool;
30 };
31 #endif
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
MdtCsmContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
Create the transient representation of an object.
Definition: MdtCsmContByteStreamCnv.h:20
MdtCsmContByteStreamCnv::m_tool
ToolHandle< Muon::IMDT_RDOtoByteStreamTool > m_tool
Definition: MdtCsmContByteStreamCnv.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
MdtCsmContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition: MdtCsmContByteStreamCnv.cxx:27
MdtCsmContByteStreamCnv::storageType
static long storageType()
Definition: MdtCsmContByteStreamCnv.cxx:18
MdtCsmContByteStreamCnv::classID
static const CLID & classID()
Definition: MdtCsmContByteStreamCnv.cxx:16
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
MdtCsmContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: MdtCsmContByteStreamCnv.cxx:20
MdtCsmContByteStreamCnv::MdtCsmContByteStreamCnv
MdtCsmContByteStreamCnv(ISvcLocator *svcloc)
Definition: MdtCsmContByteStreamCnv.cxx:13
MdtCsmContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: MdtCsmContByteStreamCnv.h:24
IMDT_RDOtoByteStreamTool.h
MdtCsmContByteStreamCnv
Definition: MdtCsmContByteStreamCnv.h:15