ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestAlg.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
/*
4
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
5
*/
6
7
// $Id$
14
15
16
#ifndef DATAMODELTESTDATACOMMON_XAODTESTALG_H
17
#define DATAMODELTESTDATACOMMON_XAODTESTALG_H
18
19
20
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
21
#include "
DataModelTestDataCommon/ITestTool.h
"
22
#include "GaudiKernel/ToolHandle.h"
23
24
25
namespace
DMTest
{
26
27
28
class
xAODTestAlg
:
public
AthReentrantAlgorithm
29
{
30
public
:
36
xAODTestAlg
(
const
std::string &name, ISvcLocator *pSvcLocator);
37
38
42
virtual
StatusCode
initialize
()
override
;
43
44
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
49
50
51
private
:
52
ToolHandleArray<ITestTool>
m_tools
;
53
};
54
55
56
}
// namespace DMTest
57
58
59
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTALG_H
AthReentrantAlgorithm.h
ITestTool.h
Base class for testing SG access from tools.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestAlg::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestAlg.cxx:36
DMTest::xAODTestAlg::xAODTestAlg
xAODTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestAlg.cxx:25
DMTest::xAODTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestAlg.cxx:47
DMTest::xAODTestAlg::m_tools
ToolHandleArray< ITestTool > m_tools
Definition
xAODTestAlg.h:52
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0