ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
ITkStripsByteStreamCnv
src
ITkStripsRawContByteStreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ITkStripsRawDataByteStreamCnv_ITkStripsRawContByteStreamCnv_h
6
#define ITkStripsRawDataByteStreamCnv_ITkStripsRawContByteStreamCnv_h
7
8
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
9
#include "
ByteStreamCnvSvcBase/ByteStreamAddress.h
"
10
#include "
InDetRawData/InDetRawDataCLASS_DEF.h
"
11
#include "
AthenaBaseComps/AthConstConverter.h
"
12
13
#include "GaudiKernel/ServiceHandle.h"
14
15
class
DataObject;
16
class
ISCTRawContByteStreamTool
;
17
28
class
ITkStripsRawContByteStreamCnv
:
public
AthConstConverter
{
29
public
:
30
32
ITkStripsRawContByteStreamCnv
(ISvcLocator* svcLoc);
33
35
virtual
~ITkStripsRawContByteStreamCnv
() =
default
;
36
38
virtual
StatusCode
initialize
()
override
;
39
41
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
43
static
long
storageType
() {
return
ByteStreamAddress::storageType
(); }
45
static
CLID
classID
() {
return
ClassID_traits<SCT_RDO_Container>::ID
(); }
46
48
virtual
StatusCode
createObjConst
(IOpaqueAddress*, DataObject*&)
const override
{
return
StatusCode::FAILURE; }
49
61
virtual
StatusCode
createRepConst
(DataObject* pDataObject, IOpaqueAddress*& pOpaqueAddress)
const override
;
62
63
private
:
64
66
ToolHandle<ISCTRawContByteStreamTool>
m_rawContByteStreamTool
;
67
69
ServiceHandle<IByteStreamEventAccess>
m_byteStreamEventAccess
;
70
};
71
72
#endif
AthConstConverter.h
Gaudi converter base class with const interfaces.
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IByteStreamEventAccess.h
InDetRawDataCLASS_DEF.h
AthConstConverter::AthConstConverter
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Definition
AthConstConverter.h:35
ByteStreamAddress::storageType
static constexpr long storageType()
Definition
ByteStreamAddress.h:51
ISCTRawContByteStreamTool
Interface for Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream.
Definition
ISCTRawContByteStreamTool.h:28
ITkStripsRawContByteStreamCnv::storageType
static long storageType()
Storage type.
Definition
ITkStripsRawContByteStreamCnv.h:43
ITkStripsRawContByteStreamCnv::classID
static CLID classID()
Class ID.
Definition
ITkStripsRawContByteStreamCnv.h:45
ITkStripsRawContByteStreamCnv::~ITkStripsRawContByteStreamCnv
virtual ~ITkStripsRawContByteStreamCnv()=default
Destructor.
ITkStripsRawContByteStreamCnv::initialize
virtual StatusCode initialize() override
Initialize.
Definition
ITkStripsRawContByteStreamCnv.cxx:28
ITkStripsRawContByteStreamCnv::m_rawContByteStreamTool
ToolHandle< ISCTRawContByteStreamTool > m_rawContByteStreamTool
Tool to do coversion from ITkStrips RDO container to ByteStream.
Definition
ITkStripsRawContByteStreamCnv.h:66
ITkStripsRawContByteStreamCnv::m_byteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Interface for accessing raw data.
Definition
ITkStripsRawContByteStreamCnv.h:69
ITkStripsRawContByteStreamCnv::ITkStripsRawContByteStreamCnv
ITkStripsRawContByteStreamCnv(ISvcLocator *svcLoc)
Constructor.
Definition
ITkStripsRawContByteStreamCnv.cxx:19
ITkStripsRawContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
createObj method (not used!)
Definition
ITkStripsRawContByteStreamCnv.h:48
ITkStripsRawContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Retrieve the class type of the data store the converter uses.
Definition
ITkStripsRawContByteStreamCnv.h:41
ITkStripsRawContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override
Method to convert ITkStrips Raw Data into ByteStream.
Definition
ITkStripsRawContByteStreamCnv.cxx:46
ServiceHandle
Definition
ClusterMakerTool.h:36
ClassID_traits::ID
static constexpr CLID ID()
Definition
Control/AthenaKernel/AthenaKernel/ClassID_traits.h:44
Generated on
for ATLAS Offline Software by
1.17.0