ATLAS Offline Software
GlobalSimulationAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GLOBALSIM_GLOBALSIMULATIONALG_H
6 #define GLOBALSIM_GLOBALSIMULATIONALG_H
7 
8 /*
9  * GlobalL1TopoSimulation runs L1Topo Algorithms.
10  * It is heavily influenced by the L1TopoSimmulation packages.
11  *
12  * This Athena Algorithm is configuired with an ordered Sequence of AlgTools.
13  * which represent the nodes of a call graph of GlobalSim Algorithms.
14  *
15  * It is the responsaility of the python configuration code to order the
16  * AlgTools such that the ToolArray can be traversed sequentially.
17  *
18  */
19 
21 
22 #include "IGlobalSimAlgTool.h"
23 
24 namespace GlobalSim {
25 
27  public:
28 
29  GlobalSimulationAlg(const std::string& name, ISvcLocator *pSvcLocator);
30 
31  virtual StatusCode initialize () override;
32  virtual StatusCode execute (const EventContext& ctx) const override;
33 
34  private:
35 
36  Gaudi::Property<bool>
37  m_useTestInputEvent {this, "useTestInputEvent", {false},
38  "use a test input event"};
39 
40  ToolHandleArray<IGlobalSimAlgTool> m_algTools{
41  this,
42  "globalsim_algs",
43  {},
44  "ordered sequence of GlobalSim AlgTools"};
45 
46  Gaudi::Property<bool>
47  m_enableDumps {this, "enableDumps", {false},
48  "flag to control writing debug files"};
49 
50  };
51 
52 }
53 #endif
GlobalSim::GlobalSimulationAlg::m_useTestInputEvent
Gaudi::Property< bool > m_useTestInputEvent
Definition: GlobalSimulationAlg.h:37
GlobalSim::GlobalSimulationAlg::GlobalSimulationAlg
GlobalSimulationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: GlobalSimulationAlg.cxx:12
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
GlobalSim::GlobalSimulationAlg::m_algTools
ToolHandleArray< IGlobalSimAlgTool > m_algTools
Definition: GlobalSimulationAlg.h:40
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GlobalSim::GlobalSimulationAlg::m_enableDumps
Gaudi::Property< bool > m_enableDumps
Definition: GlobalSimulationAlg.h:47
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
GlobalSim::GlobalSimulationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: GlobalSimulationAlg.cxx:37
GlobalSim::GlobalSimulationAlg
Definition: GlobalSimulationAlg.h:26
IGlobalSimAlgTool.h
GlobalSim::GlobalSimulationAlg::initialize
virtual StatusCode initialize() override
Definition: GlobalSimulationAlg.cxx:17