ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloByteStream
src
CpmRoiByteStreamV2Cnv.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 TRIGT1CALOBYTESTREAM_CPMROIBYTESTREAMV2CNV_H
6
#define TRIGT1CALOBYTESTREAM_CPMROIBYTESTREAMV2CNV_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthConstConverter.h
"
11
#include "GaudiKernel/ClassID.h"
12
#include "GaudiKernel/ServiceHandle.h"
13
#include "GaudiKernel/ToolHandle.h"
14
15
class
DataObject;
16
class
IOpaqueAddress;
17
class
IROBDataProviderSvc
;
18
class
ISvcLocator;
19
class
StatusCode
;
20
21
template
<
typename
>
class
CnvFactory
;
22
23
24
namespace
LVL1BS
{
25
26
class
CpmRoiByteStreamV2Tool
;
27
32
33
class
CpmRoiByteStreamV2Cnv
:
public
AthConstConverter
{
34
public
:
35
CpmRoiByteStreamV2Cnv
(ISvcLocator* svcloc);
36
37
virtual
~CpmRoiByteStreamV2Cnv
();
38
39
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
createObjConst
(IOpaqueAddress* pAddr, DataObject*& pObj)
const override
;
43
virtual
StatusCode
createRepConst
(DataObject* pObj, IOpaqueAddress*& pAddr)
const override
;
44
45
// Storage type and class ID
46
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
47
static
long
storageType
();
48
static
CLID
classID
();
49
50
private
:
52
ToolHandle<LVL1BS::CpmRoiByteStreamV2Tool>
m_tool
;
53
55
ServiceHandle<IROBDataProviderSvc>
m_robDataProvider
;
56
};
57
58
}
// end namespace
59
60
#endif
AthConstConverter.h
Gaudi converter base class with const interfaces.
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
AthConstConverter::AthConstConverter
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Definition
AthConstConverter.h:35
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
LVL1BS::CpmRoiByteStreamV2Cnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create CPM RoIs from ByteStream.
Definition
CpmRoiByteStreamV2Cnv.cxx:78
LVL1BS::CpmRoiByteStreamV2Cnv::repSvcType
virtual long repSvcType() const override
Definition
CpmRoiByteStreamV2Cnv.h:46
LVL1BS::CpmRoiByteStreamV2Cnv::storageType
static long storageType()
Definition
CpmRoiByteStreamV2Cnv.cxx:52
LVL1BS::CpmRoiByteStreamV2Cnv::CpmRoiByteStreamV2Cnv
CpmRoiByteStreamV2Cnv(ISvcLocator *svcloc)
Definition
CpmRoiByteStreamV2Cnv.cxx:34
LVL1BS::CpmRoiByteStreamV2Cnv::classID
static CLID classID()
Definition
CpmRoiByteStreamV2Cnv.cxx:47
LVL1BS::CpmRoiByteStreamV2Cnv::m_tool
ToolHandle< LVL1BS::CpmRoiByteStreamV2Tool > m_tool
Tool that does the actual work.
Definition
CpmRoiByteStreamV2Cnv.h:52
LVL1BS::CpmRoiByteStreamV2Cnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Create ByteStream from CPM RoIs.
Definition
CpmRoiByteStreamV2Cnv.cxx:114
LVL1BS::CpmRoiByteStreamV2Cnv::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
Definition
CpmRoiByteStreamV2Cnv.h:55
LVL1BS::CpmRoiByteStreamV2Cnv::initialize
virtual StatusCode initialize() override
Definition
CpmRoiByteStreamV2Cnv.cxx:60
LVL1BS::CpmRoiByteStreamV2Cnv::~CpmRoiByteStreamV2Cnv
virtual ~CpmRoiByteStreamV2Cnv()
Definition
CpmRoiByteStreamV2Cnv.cxx:41
LVL1BS::CpmRoiByteStreamV2Tool
Tool to perform ROB fragments to CPM TOB RoI and CPM TOB RoI to raw data conversions.
Definition
CpmRoiByteStreamV2Tool.h:47
ServiceHandle
Definition
ClusterMakerTool.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1BS
Definition
ZdcModifySlices.h:10
Generated on
for ATLAS Offline Software by
1.17.0