ATLAS Offline Software
InnerDetector
InDetEventCnv
SCT_RawDataByteStreamCnv
src
SCTRawContByteStreamToolProviderTool.h
Go to the documentation of this file.
1
#ifndef SCTRAWCONTBYTESTREAMTOOLPROVIDERTOOL_H
2
#define SCTRAWCONTBYTESTREAMTOOLPROVIDERTOOL_H
3
4
#include "
AthenaBaseComps/AthAlgTool.h
"
5
#include "
SCT_RawDataByteStreamCnv/ISCTRawContByteStreamTool.h
"
6
#include "
SCT_RawDataByteStreamCnv/ISCTRawContByteStreamToolProviderTool.h
"
7
8
class
SCTRawContByteStreamToolProviderTool
9
:
public
extends<AthAlgTool, ISCTRawContByteStreamToolProviderTool>
10
{
12
// Public methods:
14
public
:
15
17
SCTRawContByteStreamToolProviderTool
(
const
std::string&
type
,
const
std::string&
name
,
18
const
IInterface*
parent
)
19
: base_class(
type
,
name
,
parent
)
20
{}
21
23
virtual
~SCTRawContByteStreamToolProviderTool
()
override
=
default
;
24
25
StatusCode
initialize
()
override
{
26
ATH_CHECK
(
m_rawContByteStreamTool
.retrieve());
27
ATH_MSG_INFO
(
"retrieved "
<<
m_rawContByteStreamTool
.name() );
28
return
StatusCode::SUCCESS;
29
}
30
31
virtual
const
ISCTRawContByteStreamTool
&
getTool
()
const override
{
32
return
*
m_rawContByteStreamTool
;
33
}
34
35
private
:
37
ToolHandle<ISCTRawContByteStreamTool>
m_rawContByteStreamTool
38
{
this
,
"RawContByteStreamTool"
,
""
};
39
};
40
#endif
ISCTRawContByteStreamTool.h
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
ISCTRawContByteStreamTool
Interface for Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream.
Definition:
ISCTRawContByteStreamTool.h:28
SCTRawContByteStreamToolProviderTool::m_rawContByteStreamTool
ToolHandle< ISCTRawContByteStreamTool > m_rawContByteStreamTool
Tool to do coversion from SCT RDO container to ByteStream.
Definition:
SCTRawContByteStreamToolProviderTool.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
SCTRawContByteStreamToolProviderTool::SCTRawContByteStreamToolProviderTool
SCTRawContByteStreamToolProviderTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition:
SCTRawContByteStreamToolProviderTool.h:17
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
SCTRawContByteStreamToolProviderTool::getTool
virtual const ISCTRawContByteStreamTool & getTool() const override
Definition:
SCTRawContByteStreamToolProviderTool.h:31
SCTRawContByteStreamToolProviderTool::~SCTRawContByteStreamToolProviderTool
virtual ~SCTRawContByteStreamToolProviderTool() override=default
Destructor:
SCTRawContByteStreamToolProviderTool::initialize
StatusCode initialize() override
Definition:
SCTRawContByteStreamToolProviderTool.h:25
ISCTRawContByteStreamToolProviderTool.h
SCTRawContByteStreamToolProviderTool
Definition:
SCTRawContByteStreamToolProviderTool.h:10
Generated on Mon Sep 1 2025 21:18:47 for ATLAS Offline Software by
1.8.18