ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArByteStream
LArByteStream
LArFebHeaderContByteStreamCnv.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_FEBHEADERCONTRAWEVENTCNV_H
8
#define LARBYTESTREAM_FEBHEADERCONTRAWEVENTCNV_H
9
10
#include <stdint.h>
11
#include <map>
12
#include <string>
13
#include "
AthenaBaseComps/AthConstConverter.h
"
14
#include "
ByteStreamData/RawEvent.h
"
15
#include "
ByteStreamCnvSvcBase/ByteStreamAddress.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "GaudiKernel/ServiceHandle.h"
18
19
class
DataObject;
20
class
StatusCode
;
21
class
IAddressCreator;
22
class
LArFebHeaderContainer
;
23
class
LArRawDataContByteStreamTool
;
24
class
IROBDataProviderSvc
;
25
class
ByteStreamCnvSvc
;
26
30
31
// Abstract factory to create the converter
32
template
<
class
TYPE>
class
CnvFactory
;
33
34
class
LArFebHeaderContByteStreamCnv
:
public
AthConstConverter
35
{
36
public
:
37
LArFebHeaderContByteStreamCnv
(ISvcLocator* svcloc);
38
39
typedef
LArRawDataContByteStreamTool
BYTESTREAMTOOL
;
40
41
virtual
StatusCode
initialize
()
override
;
42
virtual
StatusCode
createObjConst
(IOpaqueAddress* pAddr, DataObject*& pObj)
const override
;
43
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
44
46
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
47
static
long
storageType
() {
return
ByteStreamAddress::storageType
(); }
48
static
CLID
classID
();
49
50
private
:
51
ToolHandle<BYTESTREAMTOOL>
m_tool
;
52
ServiceHandle<IROBDataProviderSvc>
m_rdpSvc
;
53
};
54
#endif
55
56
57
AthConstConverter.h
Gaudi converter base class with const interfaces.
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
RawEvent.h
AthConstConverter::AthConstConverter
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Definition
AthConstConverter.h:35
ByteStreamAddress::storageType
static constexpr long storageType()
Definition
ByteStreamAddress.h:51
ByteStreamCnvSvc
Gaudi Conversion Service class for ByteStream Persistency.
Definition
ByteStreamCnvSvc.h:36
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition
IROBDataProviderSvc.h:21
LArFebHeaderContByteStreamCnv::LArFebHeaderContByteStreamCnv
LArFebHeaderContByteStreamCnv(ISvcLocator *svcloc)
Definition
LArFebHeaderContByteStreamCnv.cxx:25
LArFebHeaderContByteStreamCnv::m_rdpSvc
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
Definition
LArFebHeaderContByteStreamCnv.h:52
LArFebHeaderContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition
LArFebHeaderContByteStreamCnv.cxx:83
LArFebHeaderContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition
LArFebHeaderContByteStreamCnv.h:46
LArFebHeaderContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition
LArFebHeaderContByteStreamCnv.cxx:37
LArFebHeaderContByteStreamCnv::BYTESTREAMTOOL
LArRawDataContByteStreamTool BYTESTREAMTOOL
Definition
LArFebHeaderContByteStreamCnv.h:39
LArFebHeaderContByteStreamCnv::storageType
static long storageType()
Definition
LArFebHeaderContByteStreamCnv.h:47
LArFebHeaderContByteStreamCnv::m_tool
ToolHandle< BYTESTREAMTOOL > m_tool
Definition
LArFebHeaderContByteStreamCnv.h:51
LArFebHeaderContByteStreamCnv::classID
static CLID classID()
Definition
LArFebHeaderContByteStreamCnv.cxx:31
LArFebHeaderContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition
LArFebHeaderContByteStreamCnv.cxx:51
LArFebHeaderContainer
Container class for LArFebHeader.
Definition
LArFebHeaderContainer.h:20
LArRawDataContByteStreamTool
An AlgTool class to help converting LAr raw data objects to/from ByteStream.
Definition
LArRawDataContByteStreamTool.h:48
ServiceHandle
Definition
ClusterMakerTool.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Generated on
for ATLAS Offline Software by
1.17.0