ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
AthAlgTool.h
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
ISCTRawContByteStreamToolProviderTool.h
ISCTRawContByteStreamTool.h
Athena Algorithm Tool to fill Collections of SCT RDO Containers.
ISCTRawContByteStreamTool
Interface for Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream.
Definition
ISCTRawContByteStreamTool.h:28
SCTRawContByteStreamToolProviderTool::initialize
StatusCode initialize() override
Definition
SCTRawContByteStreamToolProviderTool.h:25
SCTRawContByteStreamToolProviderTool::getTool
virtual const ISCTRawContByteStreamTool & getTool() const override
Definition
SCTRawContByteStreamToolProviderTool.h:31
SCTRawContByteStreamToolProviderTool::SCTRawContByteStreamToolProviderTool
SCTRawContByteStreamToolProviderTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
SCTRawContByteStreamToolProviderTool.h:17
SCTRawContByteStreamToolProviderTool::~SCTRawContByteStreamToolProviderTool
virtual ~SCTRawContByteStreamToolProviderTool() override=default
Destructor:
SCTRawContByteStreamToolProviderTool::m_rawContByteStreamTool
ToolHandle< ISCTRawContByteStreamTool > m_rawContByteStreamTool
Tool to do coversion from SCT RDO container to ByteStream.
Definition
SCTRawContByteStreamToolProviderTool.h:38
type
Generated on
for ATLAS Offline Software by
1.17.0