ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1ResultByteStream
src
RoIBResultByteStreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
6
#define TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
7
8
// Local includes
9
#include "
RoIBResultByteStreamTool.h
"
10
11
// Athena includes
12
#include "
AthenaBaseComps/AthMessaging.h
"
13
#include "
ByteStreamCnvSvcBase/IByteStreamEventAccess.h
"
14
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
15
16
// Gaudi includes
17
#include "GaudiKernel/Converter.h"
18
#include "GaudiKernel/ServiceHandle.h"
19
#include "GaudiKernel/ToolHandle.h"
20
36
template
<
class
ROBF >
37
class
RoIBResultByteStreamCnv
:
public
Converter
,
public
AthMessaging
{
38
39
public
:
41
RoIBResultByteStreamCnv
( ISvcLocator* svcloc );
43
virtual
StatusCode
initialize
();
45
virtual
StatusCode
createObj
( IOpaqueAddress* pAddr, DataObject*& pObj );
47
virtual
StatusCode
createRep
( DataObject* pObj, IOpaqueAddress*& pAddr );
48
50
virtual
long
repSvcType
()
const
{
return
i_repSvcType(); }
52
static
long
storageType
();
54
static
CLID
classID
();
55
56
private
:
58
ToolHandle< RoIBResultByteStreamTool >
m_tool
;
60
ServiceHandle< IByteStreamEventAccess >
m_ByteStreamCnvSvc
;
62
ServiceHandle< IROBDataProviderSvc >
m_robDataProviderSvc
;
64
bool
m_isMT
{
false
};
65
66
};
// class RoIBResultByteStreamCnv
67
68
// Include the implementation:
69
#include "
RoIBResultByteStreamCnv.icc
"
70
71
#endif
// TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
AthMessaging.h
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IByteStreamEventAccess.h
IROBDataProviderSvc.h
RoIBResultByteStreamCnv.icc
RoIBResultByteStreamTool.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
Converter::Converter
Converter()
Definition
Converter.h:29
RoIBResultByteStreamCnv::m_ByteStreamCnvSvc
ServiceHandle< IByteStreamEventAccess > m_ByteStreamCnvSvc
Service used when writing the BS data.
Definition
RoIBResultByteStreamCnv.h:60
RoIBResultByteStreamCnv::m_robDataProviderSvc
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
Service used when reading the BS data.
Definition
RoIBResultByteStreamCnv.h:62
RoIBResultByteStreamCnv::m_tool
ToolHandle< RoIBResultByteStreamTool > m_tool
Tool doing the actual conversion.
Definition
RoIBResultByteStreamCnv.h:58
RoIBResultByteStreamCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Function creating the multiple ROB fragments from the RoIBResult object.
RoIBResultByteStreamCnv::storageType
static long storageType()
Function needed by the framework.
RoIBResultByteStreamCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Function creating the RoIBResult object from the multiple ROB fragments.
RoIBResultByteStreamCnv::m_isMT
bool m_isMT
Flag if running in athenaMT to prevent calling deprecated methods.
Definition
RoIBResultByteStreamCnv.h:64
RoIBResultByteStreamCnv::classID
static CLID classID()
Function needed by the framework.
RoIBResultByteStreamCnv::repSvcType
virtual long repSvcType() const
Function needed by the framework.
Definition
RoIBResultByteStreamCnv.h:50
RoIBResultByteStreamCnv::RoIBResultByteStreamCnv
RoIBResultByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
RoIBResultByteStreamCnv::initialize
virtual StatusCode initialize()
Function connecting to all the needed services/tools.
ServiceHandle< IByteStreamEventAccess >
Generated on
for ATLAS Offline Software by
1.17.0