ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthToolSupport
AsgExampleTools
src
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
8
namespace
asg
{
9
10
StatusCode
EventStoreTestAlg::initialize
() {
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
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
EventStoreTestAlg.h
asg::EventStoreTestAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
EventStoreTestAlg.cxx:10
asg::EventStoreTestAlg::m_tool
ToolHandle< IEventStoreTestTool > m_tool
The tool performing the test.
Definition
EventStoreTestAlg.h:39
asg::EventStoreTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
EventStoreTestAlg.cxx:19
asg
Definition
DataHandleTestTool.h:28
Generated on
for ATLAS Offline Software by
1.17.0