ATLAS Offline Software
Loading...
Searching...
No Matches
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
22#include "GaudiKernel/ToolHandle.h"
23
24
25namespace DMTest {
26
27
29{
30public:
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
51private:
52 ToolHandleArray<ITestTool> m_tools;
53};
54
55
56} // namespace DMTest
57
58
59#endif // not DATAMODELTESTDATACOMMON_XAODTESTALG_H
Base class for testing SG access from tools.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
xAODTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
ToolHandleArray< ITestTool > m_tools
Definition xAODTestAlg.h:52
Definition B.h:23