ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalSimulationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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#include "ITIPwriterAlgTool.h"
24#include "../IO/TipWord_clid.h"
25
26namespace GlobalSim {
27
29 public:
30
31 GlobalSimulationAlg(const std::string& name, ISvcLocator *pSvcLocator);
32
33 virtual StatusCode initialize () override;
34 virtual StatusCode execute (const EventContext& ctx) const override;
35
36 private:
37
39 this,
40 "tipWord",
41 "GlobalSimTIP",
42 "Key to ewrite out TIP bitset"};
43
44
45 Gaudi::Property<bool>
46 m_useTestInputEvent {this, "useTestInputEvent", {false},
47 "use a test input event"};
48
49 ToolHandleArray<IGlobalSimAlgTool> m_algTools{
50 this,
51 "globalsim_algs",
52 {},
53 "ordered sequence of GlobalSim AlgTools"};
54
55 ToolHandleArray<ITIPwriterAlgTool> m_TIPwriters{
56 this,
57 "TIPwriters",
58 {},
59 "sequence of TIP writer AlgTools"};
60
61 Gaudi::Property<bool>
62 m_enableDumps {this, "enableDumps", {false},
63 "flag to control writing debug files"};
64
65 };
66
67}
68#endif
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
Gaudi::Property< bool > m_useTestInputEvent
ToolHandleArray< ITIPwriterAlgTool > m_TIPwriters
Gaudi::Property< bool > m_enableDumps
GlobalSimulationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< TIPword > m_tipWordKey
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandleArray< IGlobalSimAlgTool > m_algTools
Property holding a SG store/key/clid from which a WriteHandle is made.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...