ATLAS Offline Software
Loading...
Searching...
No Matches
ITkStripsRawContByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ITkStripsRawDataByteStreamCnv_ITkStripsRawContByteStreamCnv_h
6#define ITkStripsRawDataByteStreamCnv_ITkStripsRawContByteStreamCnv_h
7
12
13#include "GaudiKernel/ServiceHandle.h"
14
15class DataObject;
17
29 public:
30
32 ITkStripsRawContByteStreamCnv(ISvcLocator* svcLoc);
33
35 virtual ~ITkStripsRawContByteStreamCnv() = default;
36
38 virtual StatusCode initialize() override;
39
41 virtual long repSvcType() const override { return i_repSvcType(); }
43 static long storageType() { return ByteStreamAddress::storageType(); }
46
48 virtual StatusCode createObjConst(IOpaqueAddress*, DataObject*&) const override { return StatusCode::FAILURE; }
49
61 virtual StatusCode createRepConst(DataObject* pDataObject, IOpaqueAddress*& pOpaqueAddress) const override;
62
63 private:
64
66 ToolHandle<ISCTRawContByteStreamTool> m_rawContByteStreamTool;
67
70};
71
72#endif
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)
static constexpr long storageType()
Interface for Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream.
static const CLID & classID()
Class ID.
virtual ~ITkStripsRawContByteStreamCnv()=default
Destructor.
virtual StatusCode initialize() override
Initialize.
ToolHandle< ISCTRawContByteStreamTool > m_rawContByteStreamTool
Tool to do coversion from ITkStrips RDO container to ByteStream.
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Interface for accessing raw data.
ITkStripsRawContByteStreamCnv(ISvcLocator *svcLoc)
Constructor.
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
createObj method (not used!)
virtual long repSvcType() const override
Retrieve the class type of the data store the converter uses.
virtual StatusCode createRepConst(DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override
Method to convert ITkStrips Raw Data into ByteStream.