ATLAS Offline Software
InferenceAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONINFERENCE_INFERENCEALG_H
5 #define MUONINFERENCE_INFERENCEALG_H
6 
8 #include "GaudiKernel/ToolHandle.h"
9 
12 
13 namespace MuonML {
14 
16 public:
17  using AthReentrantAlgorithm::AthReentrantAlgorithm;
18 
19  virtual StatusCode initialize() override;
20  virtual StatusCode execute(const EventContext& ctx) const override;
21 
22 private:
23  ToolHandleArray<MuonML::IGraphInferenceTool> m_inferenceTools{
24  this, "InferenceTools", {}
25  };
26 };
27 
28 } // namespace MuonML
29 
30 #endif
IGraphInferenceTool.h
MuonML::InferenceAlg::m_inferenceTools
ToolHandleArray< MuonML::IGraphInferenceTool > m_inferenceTools
Definition: InferenceAlg.h:23
MuonML::InferenceAlg::initialize
virtual StatusCode initialize() override
Definition: InferenceAlg.cxx:6
MuonML::InferenceAlg
Definition: InferenceAlg.h:15
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
MuonML
Definition: BucketGraphUtils.h:19
MuonML::InferenceAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: InferenceAlg.cxx:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
GraphData.h