ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloByteStream
src
RodHeaderByteStreamCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1CALOBYTESTREAM_RODHEADERBYTESTREAMCNV_H
6
#define TRIGT1CALOBYTESTREAM_RODHEADERBYTESTREAMCNV_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
ISvcLocator;
18
class
StatusCode
;
19
20
template
<
typename
>
class
CnvFactory
;
21
22
23
namespace
LVL1BS
{
24
25
class
RodHeaderByteStreamTool;
26
32
class
RodHeaderByteStreamCnv
:
public
AthConstConverter
{
33
34
public
:
35
RodHeaderByteStreamCnv
(ISvcLocator* svcloc);
36
37
virtual
~RodHeaderByteStreamCnv
();
38
39
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
createObjConst
(IOpaqueAddress* pAddr, DataObject*& pObj)
const override
;
42
43
// Storage type and class ID
44
virtual
long
repSvcType
()
const override
{
return
i_repSvcType(); }
45
static
long
storageType
();
46
static
const
CLID
&
classID
();
47
48
private
:
50
ToolHandle<LVL1BS::RodHeaderByteStreamTool>
m_tool
;
51
};
52
53
}
// end namespace
54
55
#endif
LVL1BS::RodHeaderByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create RodHeaders from ByteStream.
Definition:
RodHeaderByteStreamCnv.cxx:69
AthConstConverter
Gaudi converter base class with const interfaces.
Definition:
AthConstConverter.h:33
LVL1BS::RodHeaderByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition:
RodHeaderByteStreamCnv.cxx:59
LVL1BS::RodHeaderByteStreamCnv::~RodHeaderByteStreamCnv
virtual ~RodHeaderByteStreamCnv()
Definition:
RodHeaderByteStreamCnv.cxx:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LVL1BS::RodHeaderByteStreamCnv::RodHeaderByteStreamCnv
RodHeaderByteStreamCnv(ISvcLocator *svcloc)
Definition:
RodHeaderByteStreamCnv.cxx:34
LVL1BS::RodHeaderByteStreamCnv::repSvcType
virtual long repSvcType() const override
Definition:
RodHeaderByteStreamCnv.h:44
LVL1BS::RodHeaderByteStreamCnv::m_tool
ToolHandle< LVL1BS::RodHeaderByteStreamTool > m_tool
Tool that does the actual work.
Definition:
RodHeaderByteStreamCnv.h:50
LVL1BS::RodHeaderByteStreamCnv
ByteStream converter for L1Calo ROD header info.
Definition:
RodHeaderByteStreamCnv.h:32
LVL1BS
Definition:
ZdcModifySlices.h:10
LVL1BS::RodHeaderByteStreamCnv::classID
static const CLID & classID()
Definition:
RodHeaderByteStreamCnv.cxx:46
LVL1BS::RodHeaderByteStreamCnv::storageType
static long storageType()
Definition:
RodHeaderByteStreamCnv.cxx:51
Generated on Mon Dec 23 2024 21:17:19 for ATLAS Offline Software by
1.8.18