ATLAS Offline Software
TileMuRcvContByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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;
17 class StoreGateSvc;
18 class IROBDataProviderSvc;
20 class ByteStreamCnvSvc;
21 class TileROD_Decoder;
22 
23 // Abstract factory to create the converter
24 template <class TYPE> class CnvFactory;
25 
26 
36  : public AthConstConverter
37 {
38  public:
39  TileMuRcvContByteStreamCnv(ISvcLocator* svcloc);
40 
42 
43  virtual StatusCode initialize() override;
44  virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
45  virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
46  virtual StatusCode finalize() override;
47 
49  virtual long repSvcType() const override { return i_repSvcType(); }
50  static long storageType();
51  static const CLID& classID();
52 
53  private:
55  ToolHandle<BYTESTREAMTOOL> m_tool;
56 
59 
62 
65 
67  ToolHandle<TileROD_Decoder> m_decoder;
68 };
69 #endif
70 
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:135
TileMuRcvContByteStreamCnv
This AthConstConverter class provides conversion between ByteStream and TileMuRcvCont.
Definition: TileMuRcvContByteStreamCnv.h:37
IByteStreamEventAccess
interface for accessing raw data .
Definition: IByteStreamEventAccess.h:17
TileMuRcvContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: TileMuRcvContByteStreamCnv.h:49
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
TileMuRcvContByteStreamCnv::storageType
static long storageType()
Definition: TileMuRcvContByteStreamCnv.cxx:48
TileMuRcvContByteStreamCnv::m_byteStreamCnvSvc
ByteStreamCnvSvc * m_byteStreamCnvSvc
Definition: TileMuRcvContByteStreamCnv.h:58
TileMuRcvContByteStreamCnv::m_tool
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
Definition: TileMuRcvContByteStreamCnv.h:55
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:25
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
ByteStreamCnvSvc
Gaudi Conversion Service class for ByteStream Persistency.
Definition: ByteStreamCnvSvc.h:34
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:61
TileMuRcvContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: TileMuRcvContByteStreamCnv.cxx:52
TileMuRcvContByteStreamCnv::classID
static const CLID & classID()
Definition: TileMuRcvContByteStreamCnv.cxx:44
TileMuRcvContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition: TileMuRcvContByteStreamCnv.cxx:75
TileMuRcvContByteStreamCnv::m_decoder
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
Definition: TileMuRcvContByteStreamCnv.h:67
TileMuRcvContByteStreamCnv::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
Definition: TileMuRcvContByteStreamCnv.h:64
TileMuRcvContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition: TileMuRcvContByteStreamCnv.cxx:105
TileMuRcvContByteStreamCnv::m_byteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Definition: TileMuRcvContByteStreamCnv.h:57
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:41
ServiceHandle< IByteStreamEventAccess >