ATLAS Offline Software
Loading...
Searching...
No Matches
TileRawChannelContByteStreamCnv.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_TILERAWCHANNELCONTRAWEVENTCNV_H
6#define TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTCNV_H
7
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
15
16#include <vector>
17
18class DataObject;
19class StatusCode;
20class IAddressCreator;
21class MsgStream;
25class TileHid2RESrcID;
26class TileROD_Decoder;
27
28
33
34
35// Abstract factory to create the converter
36template <class TYPE> class CnvFactory;
37
38
40 : public AthConstConverter
41{
42 public:
43 TileRawChannelContByteStreamCnv(ISvcLocator* svcloc);
44
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 const CLID& classID();
56
57 private:
58 // BYTESTREAMTOOL* m_tool ;
59 ToolHandle<TileRawChannelContByteStreamTool> m_tool;
60
62
65
67 ToolHandle<TileROD_Decoder> m_decoder;
68
71
72
75};
76#endif
77
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
Helper for recycling objects from event to event.
Helper for holding non-const raw data prior to recording in SG.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Holder for recyclable objects.
Abstract factory to create the converter.
Interface class for managing ROB for both online and offline.
This class provides conversion between fragment ID and RESrcID.
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
ToolHandle< TileRawChannelContByteStreamTool > m_tool
virtual long repSvcType() const override
Storage type and class ID.
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
TileRawChannelContByteStreamTool BYTESTREAMTOOL
Athena::RecyclableDataQueue< TileMutableRawChannelContainer > m_queue ATLAS_THREAD_SAFE
Queue of data objects to recycle.
AlgTool class to provide conversion from TileRawChannelContainer to ByteStream, and fill it in RawEve...