ATLAS Offline Software
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$
16 #ifndef DATAMODELTESTDATACOMMON_XAODTESTALG_H
17 #define DATAMODELTESTDATACOMMON_XAODTESTALG_H
18 
19 
22 #include "GaudiKernel/ToolHandle.h"
23 
24 
25 namespace DMTest {
26 
27 
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
DMTest::xAODTestAlg
Definition: xAODTestAlg.h:29
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
ITestTool.h
Base class for testing SG access from tools.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestAlg.cxx:47
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DMTest::xAODTestAlg::m_tools
ToolHandleArray< ITestTool > m_tools
Definition: xAODTestAlg.h:52
DMTest
Definition: B.h:23