ATLAS Offline Software
InnerDetector
InDetEventCnv
ITkPixelByteStreamCnv
src
ITkPixelRawContBytestreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* Author: Ondra Kovanda, ondrej.kovanda at cern.ch
7
* Date: 03/2025
8
* Description: The BS converter for ITk pixels
9
*/
10
11
12
#ifndef ITKPIXELRAWCONTBYTESTREAMCNV_H
13
#define ITKPIXELRAWCONTBYTESTREAMCNV_H
14
15
#include "GaudiKernel/ServiceHandle.h"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
AthenaBaseComps/AthConstConverter.h
"
18
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
19
#include "
ITkPixelCnvTool.h
"
20
21
class
ITkPixelRawContByteStreamCnv
:
public
AthConstConverter
{
22
public
:
23
24
ITkPixelRawContByteStreamCnv
(ISvcLocator* svcloc);
25
26
virtual
StatusCode
initialize
()
override
;
27
28
//Create BS from RDO
29
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
30
31
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
32
33
static
long
storageType
();
34
static
const
CLID
&
classID
();
35
36
private
:
37
38
ServiceHandle<IByteStreamEventAccess>
m_ByteStreamEventAccess
;
39
40
ToolHandle<ITkPixelCnvTool>
m_cnvTool
;
41
42
};
43
44
#endif
ITkPixelRawContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Definition:
ITkPixelRawContBytestreamCnv.h:31
IByteStreamEventAccess.h
AthConstConverter
Gaudi converter base class with const interfaces.
Definition:
AthConstConverter.h:33
ITkPixelRawContByteStreamCnv::storageType
static long storageType()
Definition:
ITkPixelRawContBytestreamCnv.cxx:70
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.
ITkPixelRawContByteStreamCnv::classID
static const CLID & classID()
Definition:
ITkPixelRawContBytestreamCnv.cxx:65
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ITkPixelRawContByteStreamCnv::m_cnvTool
ToolHandle< ITkPixelCnvTool > m_cnvTool
Definition:
ITkPixelRawContBytestreamCnv.h:40
ITkPixelRawContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
This function is called for the RDO -> BS conversion and orchestrates the necessary steps,...
Definition:
ITkPixelRawContBytestreamCnv.cxx:43
ITkPixelRawContByteStreamCnv::ITkPixelRawContByteStreamCnv
ITkPixelRawContByteStreamCnv(ISvcLocator *svcloc)
Definition:
ITkPixelRawContBytestreamCnv.cxx:18
ITkPixelRawContByteStreamCnv
Definition:
ITkPixelRawContBytestreamCnv.h:21
ITkPixelRawContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition:
ITkPixelRawContBytestreamCnv.cxx:24
ITkPixelCnvTool.h
ITkPixelRawContByteStreamCnv::m_ByteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Definition:
ITkPixelRawContBytestreamCnv.h:38
ServiceHandle< IByteStreamEventAccess >
Generated on Tue Sep 2 2025 21:13:33 for ATLAS Offline Software by
1.8.18