ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace asg {
16
19
20 public:
21 // Inherit all of the base class's constructors
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
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
An algorithm that can be simultaneously executed in multiple threads.
Algorithm used to exercise asg::EventStoreTestTool in Athena.
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< IEventStoreTestTool > m_tool
The tool performing the test.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.