ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArByteStream
LArByteStream
LArAccumulatedDigitContByteStreamCnv.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_LARACCUMULATEDDIGITCONTRAWEVENTCNV_H
8
#define LARBYTESTREAM_LARACCUMULATEDDIGITCONTRAWEVENTCNV_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
StoreGateSvc
;
23
class
LArAccumulatedDigitContainer
;
24
class
LArRawDataContByteStreamTool
;
25
class
IROBDataProviderSvc
;
26
class
ByteStreamCnvSvc
;
27
31
32
// Abstract factory to create the converter
33
template
<
class
TYPE>
class
CnvFactory
;
34
35
class
LArAccumulatedDigitContByteStreamCnv
:
public
AthConstConverter
36
{
37
public
:
38
LArAccumulatedDigitContByteStreamCnv
(ISvcLocator* svcloc);
39
virtual
~LArAccumulatedDigitContByteStreamCnv
();
40
41
42
typedef
LArRawDataContByteStreamTool
BYTESTREAMTOOL
;
43
44
virtual
StatusCode
initialize
()
override
;
45
virtual
StatusCode
createObjConst
(IOpaqueAddress* pAddr, DataObject*& pObj)
const override
;
46
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
47
49
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
50
static
long
storageType
() {
return
ByteStreamAddress::storageType
(); }
51
static
CLID
classID
();
52
53
private
:
54
ToolHandle<BYTESTREAMTOOL>
m_tool
;
55
ServiceHandle<IROBDataProviderSvc>
m_rdpSvc
;
56
};
57
#endif
58
59
60
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:23
LArAccumulatedDigitContByteStreamCnv::m_tool
ToolHandle< BYTESTREAMTOOL > m_tool
Definition
LArAccumulatedDigitContByteStreamCnv.h:54
LArAccumulatedDigitContByteStreamCnv::LArAccumulatedDigitContByteStreamCnv
LArAccumulatedDigitContByteStreamCnv(ISvcLocator *svcloc)
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:34
LArAccumulatedDigitContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:49
LArAccumulatedDigitContByteStreamCnv::BYTESTREAMTOOL
LArRawDataContByteStreamTool BYTESTREAMTOOL
Definition
LArAccumulatedDigitContByteStreamCnv.h:42
LArAccumulatedDigitContByteStreamCnv::~LArAccumulatedDigitContByteStreamCnv
virtual ~LArAccumulatedDigitContByteStreamCnv()
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:44
LArAccumulatedDigitContByteStreamCnv::m_rdpSvc
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
Definition
LArAccumulatedDigitContByteStreamCnv.h:55
LArAccumulatedDigitContByteStreamCnv::storageType
static long storageType()
Definition
LArAccumulatedDigitContByteStreamCnv.h:50
LArAccumulatedDigitContByteStreamCnv::classID
static CLID classID()
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:40
LArAccumulatedDigitContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:64
LArAccumulatedDigitContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition
LArAccumulatedDigitContByteStreamCnv.cxx:105
LArAccumulatedDigitContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition
LArAccumulatedDigitContByteStreamCnv.h:49
LArAccumulatedDigitContainer
Container class for LArAccumulatedDigit.
Definition
LArAccumulatedDigitContainer.h:22
LArRawDataContByteStreamTool
An AlgTool class to help converting LAr raw data objects to/from ByteStream.
Definition
LArRawDataContByteStreamTool.h:48
ServiceHandle
Definition
ClusterMakerTool.h:36
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
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