ATLAS Offline Software
LArLATOMEHeaderContByteStreamCnv.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 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"
17 
18 
19 class DataObject;
20 class IROBDataProviderSvc;
21 class LArLATOMEDecoder;
22 
23 
24 // Abstract factory to create the converter
25 template <class TYPE> class CnvFactory;
26 
28 
29 public:
30  LArLATOMEHeaderContByteStreamCnv(ISvcLocator* svcloc);
32 
33  virtual StatusCode initialize() override;
34  virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
35  virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
36 
38  virtual long repSvcType() const override { return i_repSvcType(); }
39  static long storageType() { return ByteStreamAddress::storageType(); }
40  static const CLID& classID();
41 
42 private:
43  ToolHandle<LArLATOMEDecoder> m_scTool;
45 };
46 #endif
47 
48 
49 
LArLATOMEDecoder
Definition: LArLATOMEDecoder.h:61
LArLATOMEHeaderContByteStreamCnv
Definition: LArLATOMEHeaderContByteStreamCnv.h:27
LArLATOMEHeaderContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:29
LArLATOMEHeaderContByteStreamCnv::m_scTool
ToolHandle< LArLATOMEDecoder > m_scTool
Definition: LArLATOMEHeaderContByteStreamCnv.h:43
LArLATOMEHeaderContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: LArLATOMEHeaderContByteStreamCnv.h:38
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
LArLATOMEHeaderContByteStreamCnv::classID
static const CLID & classID()
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:23
LArLATOMEHeaderContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:69
LArLATOMEHeaderContByteStreamCnv::m_rdpSvc
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
Definition: LArLATOMEHeaderContByteStreamCnv.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
LArLATOMEHeaderContByteStreamCnv::storageType
static long storageType()
Definition: LArLATOMEHeaderContByteStreamCnv.h:39
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LArLATOMEHeaderContByteStreamCnv::~LArLATOMEHeaderContByteStreamCnv
virtual ~LArLATOMEHeaderContByteStreamCnv()
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:21
ByteStreamAddress::storageType
static constexpr long storageType()
Definition: ByteStreamAddress.h:51
LArLATOMEHeaderContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:38
LArLATOMEHeaderContByteStreamCnv::LArLATOMEHeaderContByteStreamCnv
LArLATOMEHeaderContByteStreamCnv(ISvcLocator *svcloc)
Definition: LArLATOMEHeaderContByteStreamCnv.cxx:15
ServiceHandle< IROBDataProviderSvc >