ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class DataObject;
14class StatusCode;
15class IAddressCreator;
16class StoreGateSvc;
20class TileROD_Decoder;
21
22// Abstract factory to create the converter
23template <class TYPE> class CnvFactory;
24
25
33
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
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Abstract factory to create the converter.
interface for bytestream conversion services
Interface class for managing ROB for both online and offline.
The Athena Transient Store API.
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode finalize() override
TileMuRcvContByteStreamCnv(ISvcLocator *svcloc)
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
virtual StatusCode initialize() override
virtual long repSvcType() const override
Storage type and class ID.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
TileMuRcvContByteStreamTool BYTESTREAMTOOL
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
This AlgTool class provides conversion from TileMuonReceiverContainer to ByteStream and fill it in Ra...
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...