ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
PixelRawDataByteStreamCnv
src
PixelRawContByteStreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// PixelRawContByteStreamCnv.h
7
// Header file for class PixelRawContByteStreamCnv
9
// (c) ATLAS Pixel Detector software
11
// classID() - returning PixelRDO_Container ID
12
// createObj() - creates PixelRDO_Container
13
// createRep() - convert Pixel_RDO in the container into ByteStream
15
// Version 00-00-39 05/03/2007 Daniel Dobos
17
18
#ifndef PIXELBYTESTREAM_PIXELRAWCONTRAWEVENTCNV_H
19
#define PIXELBYTESTREAM_PIXELRAWCONTRAWEVENTCNV_H
20
21
22
23
#include "GaudiKernel/ServiceHandle.h"
//member
24
#include "
AthenaBaseComps/AthConstConverter.h
"
//inheritance
25
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
//SvcHandle template arg
26
#include "
InDetRawData/Pixel1RawData.h
"
27
#include "
InDetRawData/InDetRawDataCollection.h
"
28
29
class
PixelRawContByteStreamTool
;
30
class
IOpaqueAddress;
31
class
DataObject;
32
33
34
class
PixelRawContByteStreamCnv
:
public
AthConstConverter
{
35
public
:
36
37
typedef
InDetRawDataCollection<Pixel1RawData>
COLLECTION
;
// define collection format here
38
39
PixelRawContByteStreamCnv
(ISvcLocator* svcloc);
40
41
virtual
StatusCode
initialize
()
override
;
42
44
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
45
47
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
48
static
long
storageType
();
49
static
CLID
classID
();
50
51
private
:
52
const
PixelRawContByteStreamTool
*
m_PixelRawContBSTool
{};
53
ServiceHandle<IByteStreamEventAccess>
m_ByteStreamEventAccess
;
54
};
55
#endif
// PIXELBYTESTREAM_PXIELRAWCONTRAWEVENTCNV_H
56
57
58
AthConstConverter.h
Gaudi converter base class with const interfaces.
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IByteStreamEventAccess.h
InDetRawDataCollection.h
Pixel1RawData.h
AthConstConverter::AthConstConverter
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Definition
AthConstConverter.h:35
InDetRawDataCollection
Definition
InDetRawDataCollection.h:31
PixelRawContByteStreamCnv::m_ByteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Definition
PixelRawContByteStreamCnv.h:53
PixelRawContByteStreamCnv::PixelRawContByteStreamCnv
PixelRawContByteStreamCnv(ISvcLocator *svcloc)
Definition
PixelRawContByteStreamCnv.cxx:32
PixelRawContByteStreamCnv::m_PixelRawContBSTool
const PixelRawContByteStreamTool * m_PixelRawContBSTool
Definition
PixelRawContByteStreamCnv.h:52
PixelRawContByteStreamCnv::COLLECTION
InDetRawDataCollection< Pixel1RawData > COLLECTION
Definition
PixelRawContByteStreamCnv.h:37
PixelRawContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition
PixelRawContByteStreamCnv.cxx:41
PixelRawContByteStreamCnv::classID
static CLID classID()
Definition
PixelRawContByteStreamCnv.cxx:60
PixelRawContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
this creates the RawEvent fragments for Pixel
Definition
PixelRawContByteStreamCnv.cxx:74
PixelRawContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition
PixelRawContByteStreamCnv.h:47
PixelRawContByteStreamCnv::storageType
static long storageType()
Definition
PixelRawContByteStreamCnv.cxx:66
PixelRawContByteStreamTool
Definition
PixelRawContByteStreamTool.h:41
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0