ATLAS Offline Software
TileMuRcvContByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILEBYTESTREAM_TILEMURCVCONTBYTESTREAMCNV_H
6 #define TILEBYTESTREAM_TILEMURCVCONTBYTESTREAMCNV_H
7 
10 #include "GaudiKernel/ToolHandle.h"
11 #include "GaudiKernel/ServiceHandle.h"
12 
13 class DataObject;
14 class StatusCode;
15 class IAddressCreator;
16 class StoreGateSvc;
17 class IROBDataProviderSvc;
19 class IByteStreamCnvSvc;
20 class TileROD_Decoder;
21 
22 // Abstract factory to create the converter
23 template <class TYPE> class CnvFactory;
24 
25 
35  : public AthConstConverter
36 {
37  public:
38  TileMuRcvContByteStreamCnv(ISvcLocator* svcloc);
39 
41 
42  virtual StatusCode initialize() override;
43  virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
44  virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
45  virtual StatusCode finalize() override;
46 
48  virtual long repSvcType() const override { return i_repSvcType(); }
49  static long storageType();
50  static const CLID& classID();
51 
52  private:
54  ToolHandle<BYTESTREAMTOOL> m_tool;
55 
57 
60 
63 
65  ToolHandle<TileROD_Decoder> m_decoder;
66 };
67 #endif
68 
TileROD_Decoder
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
Definition: TileROD_Decoder.h:119
TileMuRcvContByteStreamCnv::finalize
virtual StatusCode finalize() override
Definition: TileMuRcvContByteStreamCnv.cxx:133
TileMuRcvContByteStreamCnv
This AthConstConverter class provides conversion between ByteStream and TileMuRcvCont.
Definition: TileMuRcvContByteStreamCnv.h:36
TileMuRcvContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: TileMuRcvContByteStreamCnv.h:48
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
TileMuRcvContByteStreamCnv::storageType
static long storageType()
Definition: TileMuRcvContByteStreamCnv.cxx:47
TileMuRcvContByteStreamCnv::m_tool
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
Definition: TileMuRcvContByteStreamCnv.h:54
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
IByteStreamCnvSvc
interface for bytestream conversion services
Definition: IByteStreamCnvSvc.h:18
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.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
TileMuRcvContByteStreamCnv::TileMuRcvContByteStreamCnv
TileMuRcvContByteStreamCnv(ISvcLocator *svcloc)
Definition: TileMuRcvContByteStreamCnv.cxx:33
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TileMuRcvContByteStreamCnv::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
Definition: TileMuRcvContByteStreamCnv.h:59
TileMuRcvContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: TileMuRcvContByteStreamCnv.cxx:51
TileMuRcvContByteStreamCnv::classID
static const CLID & classID()
Definition: TileMuRcvContByteStreamCnv.cxx:43
TileMuRcvContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition: TileMuRcvContByteStreamCnv.cxx:73
TileMuRcvContByteStreamCnv::m_byteStreamCnvSvc
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: TileMuRcvContByteStreamCnv.h:56
TileMuRcvContByteStreamCnv::m_decoder
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
Definition: TileMuRcvContByteStreamCnv.h:65
TileMuRcvContByteStreamCnv::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
Definition: TileMuRcvContByteStreamCnv.h:62
TileMuRcvContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition: TileMuRcvContByteStreamCnv.cxx:103
TileContainer.h
TileMuRcvContByteStreamTool
This AlgTool class provides conversion from TileMuonReceiverContainer to ByteStream and fill it in Ra...
Definition: TileMuRcvContByteStreamTool.h:41
TileMuRcvContByteStreamCnv::BYTESTREAMTOOL
TileMuRcvContByteStreamTool BYTESTREAMTOOL
Definition: TileMuRcvContByteStreamCnv.h:40
ServiceHandle< IByteStreamCnvSvc >