ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSvc
TileByteStream
TileByteStream
TileRawChannelContByteStreamCnv.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 TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTCNV_H
6
#define TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTCNV_H
7
8
#include "
AthenaBaseComps/AthConstConverter.h
"
9
#include "
TileEvent/TileMutableRawChannelContainer.h
"
10
#include "
AthenaKernel/RecyclableDataObject.h
"
11
#include "
ByteStreamCnvSvcBase/IByteStreamCnvSvc.h
"
12
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
16
#include <vector>
17
18
class
DataObject;
19
class
StatusCode
;
20
class
IAddressCreator;
21
class
MsgStream;
22
class
TileRawChannelContainer
;
23
class
TileRawChannelContByteStreamTool
;
24
class
IROBDataProviderSvc
;
25
class
TileHid2RESrcID
;
26
class
TileROD_Decoder
;
27
28
33
34
35
// Abstract factory to create the converter
36
template
<
class
TYPE>
class
CnvFactory
;
37
38
39
class
TileRawChannelContByteStreamCnv
40
:
public
AthConstConverter
41
{
42
public
:
43
TileRawChannelContByteStreamCnv
(ISvcLocator* svcloc);
44
45
typedef
TileRawChannelContByteStreamTool
BYTESTREAMTOOL
;
46
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
createObjConst
(IOpaqueAddress* pAddr, DataObject*& pObj)
const override
;
49
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
50
virtual
StatusCode
finalize
()
override
;
51
53
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
54
static
long
storageType
();
55
static
CLID
classID
();
56
57
private
:
58
// BYTESTREAMTOOL* m_tool ;
59
ToolHandle<TileRawChannelContByteStreamTool>
m_tool
;
60
61
ServiceHandle<IByteStreamCnvSvc>
m_byteStreamCnvSvc
;
62
64
ServiceHandle<IROBDataProviderSvc>
m_robSvc
;
65
67
ToolHandle<TileROD_Decoder>
m_decoder
;
68
70
const
TileHid2RESrcID
*
m_hid2re
;
71
72
74
mutable
Athena::RecyclableDataQueue<TileMutableRawChannelContainer>
m_queue
ATLAS_THREAD_SAFE
;
75
};
76
#endif
77
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
IByteStreamCnvSvc.h
IROBDataProviderSvc.h
RecyclableDataObject.h
Helper for recycling objects from event to event.
TileMutableRawChannelContainer.h
Helper for holding non-const raw data prior to recording in SG.
AthConstConverter::AthConstConverter
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Definition
AthConstConverter.h:35
Athena::RecyclableDataQueue
Holder for recyclable objects.
Definition
RecyclableDataObject.h:126
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition
IROBDataProviderSvc.h:23
ServiceHandle
Definition
ClusterMakerTool.h:36
TileHid2RESrcID
This class provides conversion between fragment ID and RESrcID.
Definition
TileHid2RESrcID.h:28
TileROD_Decoder
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
Definition
TileROD_Decoder.h:119
TileRawChannelContByteStreamCnv::m_decoder
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
Definition
TileRawChannelContByteStreamCnv.h:67
TileRawChannelContByteStreamCnv::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
Definition
TileRawChannelContByteStreamCnv.h:64
TileRawChannelContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition
TileRawChannelContByteStreamCnv.cxx:70
TileRawChannelContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition
TileRawChannelContByteStreamCnv.cxx:170
TileRawChannelContByteStreamCnv::m_byteStreamCnvSvc
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Definition
TileRawChannelContByteStreamCnv.h:61
TileRawChannelContByteStreamCnv::TileRawChannelContByteStreamCnv
TileRawChannelContByteStreamCnv(ISvcLocator *svcloc)
Definition
TileRawChannelContByteStreamCnv.cxx:36
TileRawChannelContByteStreamCnv::m_tool
ToolHandle< TileRawChannelContByteStreamTool > m_tool
Definition
TileRawChannelContByteStreamCnv.h:59
TileRawChannelContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition
TileRawChannelContByteStreamCnv.cxx:50
TileRawChannelContByteStreamCnv::storageType
static long storageType()
Definition
TileRawChannelContByteStreamCnv.cxx:48
TileRawChannelContByteStreamCnv::classID
static CLID classID()
Definition
TileRawChannelContByteStreamCnv.cxx:46
TileRawChannelContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition
TileRawChannelContByteStreamCnv.h:53
TileRawChannelContByteStreamCnv::m_hid2re
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
Definition
TileRawChannelContByteStreamCnv.h:70
TileRawChannelContByteStreamCnv::BYTESTREAMTOOL
TileRawChannelContByteStreamTool BYTESTREAMTOOL
Definition
TileRawChannelContByteStreamCnv.h:45
TileRawChannelContByteStreamCnv::ATLAS_THREAD_SAFE
Athena::RecyclableDataQueue< TileMutableRawChannelContainer > m_queue ATLAS_THREAD_SAFE
Queue of data objects to recycle.
Definition
TileRawChannelContByteStreamCnv.h:74
TileRawChannelContByteStreamCnv::finalize
virtual StatusCode finalize() override
Definition
TileRawChannelContByteStreamCnv.cxx:204
TileRawChannelContByteStreamTool
AlgTool class to provide conversion from TileRawChannelContainer to ByteStream, and fill it in RawEve...
Definition
TileRawChannelContByteStreamTool.h:34
TileRawChannelContainer
Definition
TileRawChannelContainer.h:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Generated on
for ATLAS Offline Software by
1.17.0