ATLAS Offline Software
Loading...
Searching...
No Matches
FEAssociationAlg.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace ORUtils
8{
9
10#ifndef XAOD_STANDALONE
11FEAssociationAlg::FEAssociationAlg(const std::string& name, ISvcLocator* svcLoc)
12 : AthReentrantAlgorithm(name, svcLoc)
13{}
14#else
15FEAssociationAlg::FEAssociationAlg(const std::string& name, ISvcLocator* svcLoc)
16 : EL::AnaAlgorithm(name, svcLoc)
17{}
18#endif
19
21{
22 ATH_CHECK(m_tool.retrieve());
23 return StatusCode::SUCCESS;
24}
25
26#ifndef XAOD_STANDALONE
27StatusCode FEAssociationAlg::execute(const EventContext& ctx) const
28{
29 return m_tool->buildAssociations(ctx);
30}
31#else
33{
34 return m_tool->buildAssociations();
35}
36#endif
37
38} // namespace ORUtils
#define ATH_CHECK
Evaluate an expression and check for errors.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< ORUtils::IFEAssociationTool > m_tool
virtual StatusCode execute(const EventContext &ctx) const override
FEAssociationAlg(const std::string &name, ISvcLocator *svcLoc)
virtual StatusCode initialize() override
This module defines the arguments passed from the BATCH driver to the BATCH worker.