ATLAS Offline Software
Loading...
Searching...
No Matches
TileDigitsContByteStreamCnv.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
6#ifndef TILEBYTESTREAM_TILEDIGITS_BYTESTREAMCNV_H
7#define TILEBYTESTREAM_TILEDIGITS_BYTESTREAMCNV_H
8
9
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
15
17
18
19class DataObject;
20class StatusCode;
21class IAddressCreator;
22class MsgStream;
27class TileHid2RESrcID;
28class TileROD_Decoder;
29
30#include <vector>
31
32// Abstract factory to create the converter
33template <class TYPE> class CnvFactory;
34
43
45 : public AthConstConverter
46{
47
48 public:
49 TileDigitsContByteStreamCnv(ISvcLocator* svcloc);
50
52
53 virtual StatusCode initialize() override;
54 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
55 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
56 virtual StatusCode finalize() override;
57
59 virtual long repSvcType() const override { return i_repSvcType(); }
60 static long storageType();
61 static const CLID& classID();
62
63 private:
64 // BYTESTREAMTOOL* m_tool ;
65 ToolHandle<TileDigitsContByteStreamTool> m_tool;
66
68
71
73 ToolHandle<TileROD_Decoder> m_decoder;
74
77
80};
81#endif
82
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.
Define macros for attributes used to control the static checker.
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 for bytestream conversion services
Interface class for managing ROB for both online and offline.
virtual StatusCode finalize() override
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
virtual StatusCode initialize() override
virtual long repSvcType() const override
Storage type and class ID.
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
Athena::RecyclableDataQueue< TileMutableDigitsContainer > m_queue ATLAS_THREAD_SAFE
Queue of data objects to recycle.
ToolHandle< TileDigitsContByteStreamTool > m_tool
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
TileDigitsContByteStreamTool BYTESTREAMTOOL
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
AlgTool class to provide conversion from TileDigitsContainer to ByteStream, and fill it in RawEvent.
This class provides conversion between fragment ID and RESrcID.
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...