ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
SCT_RawDataByteStreamCnv
src
SCTRawContByteStreamCnv.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
8
#define SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
9
10
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
11
#include "
ByteStreamCnvSvcBase/ByteStreamAddress.h
"
12
#include "
InDetRawData/InDetRawDataCLASS_DEF.h
"
13
#include "
AthenaBaseComps/AthConstConverter.h
"
14
15
#include "GaudiKernel/ServiceHandle.h"
16
17
#include "
SCT_RawDataByteStreamCnv/ISCTRawContByteStreamToolProviderTool.h
"
18
19
class
DataObject;
20
class
ISCTRawContByteStreamTool
;
21
32
class
SCTRawContByteStreamCnv
:
public
AthConstConverter
33
{
34
public
:
35
37
SCTRawContByteStreamCnv
(ISvcLocator* svcLoc);
38
40
virtual
~SCTRawContByteStreamCnv
() =
default
;
41
43
virtual
StatusCode
initialize
()
override
;
44
46
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
48
static
long
storageType
() {
return
ByteStreamAddress::storageType
(); }
50
static
CLID
classID
() {
return
ClassID_traits<SCT_RDO_Container>::ID
(); }
51
53
virtual
StatusCode
createObjConst
(IOpaqueAddress*, DataObject*&)
const override
{
return
StatusCode::FAILURE; }
54
66
virtual
StatusCode
createRepConst
(DataObject* pDataObject, IOpaqueAddress*& pOpaqueAddress)
const override
;
67
68
private
:
69
71
PublicToolHandle<ISCTRawContByteStreamToolProviderTool>
m_rawContByteStreamToolProvider
;
72
const
ISCTRawContByteStreamTool
*
m_rawContByteStreamTool
;
73
74
76
ServiceHandle<IByteStreamEventAccess>
m_byteStreamEventAccess
;
77
};
78
79
#endif
// SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
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
ISCTRawContByteStreamToolProviderTool.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
SCTRawContByteStreamCnv::initialize
virtual StatusCode initialize() override
Initialize.
Definition
SCTRawContByteStreamCnv.cxx:30
SCTRawContByteStreamCnv::classID
static CLID classID()
Class ID.
Definition
SCTRawContByteStreamCnv.h:50
SCTRawContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
createObj method (not used!)
Definition
SCTRawContByteStreamCnv.h:53
SCTRawContByteStreamCnv::m_rawContByteStreamToolProvider
PublicToolHandle< ISCTRawContByteStreamToolProviderTool > m_rawContByteStreamToolProvider
Tool to do coversion from SCT RDO container to ByteStream.
Definition
SCTRawContByteStreamCnv.h:71
SCTRawContByteStreamCnv::~SCTRawContByteStreamCnv
virtual ~SCTRawContByteStreamCnv()=default
Destructor.
SCTRawContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Retrieve the class type of the data store the converter uses.
Definition
SCTRawContByteStreamCnv.h:46
SCTRawContByteStreamCnv::SCTRawContByteStreamCnv
SCTRawContByteStreamCnv(ISvcLocator *svcLoc)
Constructor.
Definition
SCTRawContByteStreamCnv.cxx:20
SCTRawContByteStreamCnv::m_byteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Interface for accessing raw data.
Definition
SCTRawContByteStreamCnv.h:76
SCTRawContByteStreamCnv::storageType
static long storageType()
Storage type.
Definition
SCTRawContByteStreamCnv.h:48
SCTRawContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override
Method to convert SCT Raw Data into ByteStream.
Definition
SCTRawContByteStreamCnv.cxx:51
SCTRawContByteStreamCnv::m_rawContByteStreamTool
const ISCTRawContByteStreamTool * m_rawContByteStreamTool
Definition
SCTRawContByteStreamCnv.h:72
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