ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBCnv
TBCnv
TBDataCnv.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 TESTBEAM_BYTESTREAM_DATA_CNV
8
#define TESTBEAM_BYTESTREAM_DATA_CNV
9
10
11
#include "
TBCnv/TBByteStreamCnvTool.h
"
12
#include "GaudiKernel/Converter.h"
13
14
// Abstract factory to create the converter
15
template
<
class
TYPE>
class
CnvFactory
;
16
17
template
<
class
DATATYPE >
18
class
TBDataCnv
:
public
Converter
{
19
20
public
:
21
TBDataCnv
(ISvcLocator* svcloc);
22
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
createObj
(IOpaqueAddress* pAddr, DataObject*& pObj)
override
;
25
virtual
StatusCode
createRep
(DataObject* pObj, IOpaqueAddress*& pAddr)
override
;
26
28
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
29
static
long
storageType
();
30
static
CLID
classID
();
31
32
private
:
33
TBByteStreamCnvTool
*
m_tool
;
//Tool that does the actual conversion
34
35
};
36
37
#include "
TBCnv/TBDataCnv.icc
"
38
39
#endif
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TBByteStreamCnvTool.h
TBDataCnv.icc
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
Converter::Converter
Converter()
Definition
Converter.h:29
TBByteStreamCnvTool
An AlgTool class to provide conversion ByteStream <-> TestBeam Instrumentation Data created Feb 2004 ...
Definition
TBByteStreamCnvTool.h:47
TBDataCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
TBDataCnv< TBTDC >::m_tool
TBByteStreamCnvTool * m_tool
Definition
TBDataCnv.h:33
TBDataCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition
TBDataCnv.h:28
TBDataCnv::initialize
virtual StatusCode initialize() override
TBDataCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
TBDataCnv::TBDataCnv
TBDataCnv(ISvcLocator *svcloc)
TBDataCnv::storageType
static long storageType()
TBDataCnv::classID
static CLID classID()
Generated on
for ATLAS Offline Software by
1.17.0