ATLAS Offline Software
Loading...
Searching...
No Matches
LArLATOMEHeaderContByteStreamCnv.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef LARBYTESTREAM_LARLATOMEHEADERCONTRAWEVENTCNV_H
8#define LARBYTESTREAM_LARLATOMEHEADERCONTRAWEVENTCNV_H
9
10#include <stdint.h>
11#include <map>
12#include <string>
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
18
19
20class DataObject;
21//class IROBDataProviderSvc;
23
24
25// Abstract factory to create the converter
26template <class TYPE> class CnvFactory;
27
29
30public:
31 LArLATOMEHeaderContByteStreamCnv(ISvcLocator* svcloc);
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
36 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
37
39 virtual long repSvcType() const override { return i_repSvcType(); }
40 static long storageType() { return ByteStreamAddress::storageType(); }
41 static CLID classID();
42
43private:
44 ToolHandle<LArLATOMEDecoder> m_scTool;
46};
47#endif
48
49
50
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()
Abstract factory to create the converter.
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.
virtual long repSvcType() const override
Storage type and class ID.
ServiceHandle< IROBDataProviderSvc > m_rdpSvc