ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExStoreGateExample
src
HandleTestAlg.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
12
13
14
#ifndef ATHEXSTOREGATEEXAMPLE_HANDLETESTALG_H
15
#define ATHEXSTOREGATEEXAMPLE_HANDLETESTALG_H
16
17
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
#include "
IHandleTestTool.h
"
21
22
23
namespace
AthEx
{
24
25
26
class
HandleTestAlg
27
:
public
AthReentrantAlgorithm
28
{
29
public
:
30
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
31
32
33
virtual
StatusCode
initialize
()
override
;
34
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
35
36
37
private
:
38
ToolHandle<IHandleTestTool>
m_tool1
39
{
this
,
"Tool1"
,
"AthEx::HandleTestTool1"
,
""
};
40
ToolHandle<IHandleTestTool>
m_tool2
41
{
this
,
"Tool2"
,
"AthEx::HandleTestTool2"
,
""
};
42
};
43
44
45
}
// namespace AthEx
46
47
48
#endif
// not ATHEXSTOREGATEEXAMPLE_HANDLETESTALG_H
AthReentrantAlgorithm.h
IHandleTestTool.h
Test for cross-component circular dependency warning suppression of WriteDecorHandleKey.
AthEx::HandleTestAlg
Definition
HandleTestAlg.h:28
AthEx::HandleTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HandleTestAlg.cxx:27
AthEx::HandleTestAlg::initialize
virtual StatusCode initialize() override
Definition
HandleTestAlg.cxx:19
AthEx::HandleTestAlg::m_tool1
ToolHandle< IHandleTestTool > m_tool1
Definition
HandleTestAlg.h:39
AthEx::HandleTestAlg::m_tool2
ToolHandle< IHandleTestTool > m_tool2
Definition
HandleTestAlg.h:41
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AthEx
Definition
Hist.h:27
Generated on
for ATLAS Offline Software by
1.17.0