ATLAS Offline Software
EventStoreTestAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef ASGEXAMPLETOOLS_EVENTSTORETESTALG_H
6 #define ASGEXAMPLETOOLS_EVENTSTORETESTALG_H
7 
8 // Local include(s).
10 
11 // Framework include(s).
13 #include "GaudiKernel/ToolHandle.h"
14 
15 namespace asg {
16 
19 
20  public:
21  // Inherit all of the base class's constructors
23 
26 
28  virtual StatusCode initialize() override;
30  virtual StatusCode execute( const EventContext& ctx ) const override;
31 
33 
34  private:
37 
39  ToolHandle< IEventStoreTestTool > m_tool{ this, "Tool",
40  "asg::EventStoreTestTool", "Tool performing the test" };
41 
43 
44  }; // class EventStoreTestAlg
45 
46 } // namespace asg
47 
48 #endif // ASGEXAMPLETOOLS_EVENTSTORETESTALG_H
asg
Definition: DataHandleTestTool.h:28
asg::EventStoreTestAlg::m_tool
ToolHandle< IEventStoreTestTool > m_tool
The tool performing the test.
Definition: EventStoreTestAlg.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
IEventStoreTestTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
asg::EventStoreTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition: EventStoreTestAlg.cxx:19
AthReentrantAlgorithm.h
asg::EventStoreTestAlg
Algorithm used to exercise asg::EventStoreTestTool in Athena.
Definition: EventStoreTestAlg.h:18
asg::EventStoreTestAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: EventStoreTestAlg.cxx:10