ATLAS Offline Software
Loading...
Searching...
No Matches
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
19#include "GaudiKernel/ToolHandle.h"
20#include "IHandleTestTool.h"
21
22
23namespace AthEx {
24
25
28{
29public:
30 using AthReentrantAlgorithm::AthReentrantAlgorithm;
31
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute (const EventContext& ctx) const override;
35
36
37private:
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
Test for cross-component circular dependency warning suppression of WriteDecorHandleKey.
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
ToolHandle< IHandleTestTool > m_tool1
ToolHandle< IHandleTestTool > m_tool2
An algorithm that can be simultaneously executed in multiple threads.
Definition Hist.h:25