ATLAS Offline Software
Loading...
Searching...
No Matches
SCTRawContByteStreamCnv.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
8#define SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
9
14
15#include "GaudiKernel/ServiceHandle.h"
16
18
19class DataObject;
21
33{
34 public:
35
37 SCTRawContByteStreamCnv(ISvcLocator* svcLoc);
38
40 virtual ~SCTRawContByteStreamCnv() = default;
41
43 virtual StatusCode initialize() override;
44
46 virtual long repSvcType() const override { return i_repSvcType(); }
48 static long storageType() { return ByteStreamAddress::storageType(); }
51
53 virtual StatusCode createObjConst(IOpaqueAddress*, DataObject*&) const override { return StatusCode::FAILURE; }
54
66 virtual StatusCode createRepConst(DataObject* pDataObject, IOpaqueAddress*& pOpaqueAddress) const override;
67
68 private:
69
71 PublicToolHandle<ISCTRawContByteStreamToolProviderTool> m_rawContByteStreamToolProvider;
73
74
77};
78
79#endif // SCT_RAWDATABYTESTREAMCNV_SCTRAWCONTBYTESTREAMCNV_H
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.
virtual StatusCode initialize() override
Initialize.
static CLID classID()
Class ID.
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
createObj method (not used!)
PublicToolHandle< ISCTRawContByteStreamToolProviderTool > m_rawContByteStreamToolProvider
Tool to do coversion from SCT RDO container to ByteStream.
virtual ~SCTRawContByteStreamCnv()=default
Destructor.
virtual long repSvcType() const override
Retrieve the class type of the data store the converter uses.
SCTRawContByteStreamCnv(ISvcLocator *svcLoc)
Constructor.
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Interface for accessing raw data.
static long storageType()
Storage type.
virtual StatusCode createRepConst(DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override
Method to convert SCT Raw Data into ByteStream.
const ISCTRawContByteStreamTool * m_rawContByteStreamTool