ATLAS Offline Software
Loading...
Searching...
No Matches
EventStoreTestAlg.cxx
Go to the documentation of this file.
1//
2// Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3//
4
5// Local include(s).
6#include "EventStoreTestAlg.h"
7
8namespace asg {
9
11
12 // Retrieve the tool(s).
13 ATH_CHECK( m_tool.retrieve() );
14
15 // Return gracefully.
16 return StatusCode::SUCCESS;
17 }
18
19 StatusCode EventStoreTestAlg::execute( const EventContext& ) const {
20
21 // Execute the tool(s).
22 ATH_CHECK( m_tool->performTest() );
23
24 // Return gracefully.
25 return StatusCode::SUCCESS;
26 }
27
28} // namespace asg
#define ATH_CHECK
Evaluate an expression and check for errors.
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.