ATLAS Offline Software
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
asg
Definition:
DataHandleTestTool.h:28
asg::EventStoreTestAlg::m_tool
ToolHandle< IEventStoreTestTool > m_tool
The tool performing the test.
Definition:
EventStoreTestAlg.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
asg::EventStoreTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition:
EventStoreTestAlg.cxx:19
EventStoreTestAlg.h
asg::EventStoreTestAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition:
EventStoreTestAlg.cxx:10
Generated on Mon Dec 23 2024 21:10:21 for ATLAS Offline Software by
1.8.18