ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
GlobalSimComponents
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
20
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
21
22
#include "
IGlobalSimAlgTool.h
"
23
#include "
ITIPWriterAlgTool.h
"
24
#include "
../IO/TipWord_clid.h
"
25
26
namespace
GlobalSim
{
27
28
class
GlobalSimulationAlg
:
public
AthReentrantAlgorithm
{
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
38
SG::WriteHandleKey<TIPword>
m_tipWordKey
{
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
AthReentrantAlgorithm.h
IGlobalSimAlgTool.h
ITIPWriterAlgTool.h
TipWord_clid.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
GlobalSim::GlobalSimulationAlg::initialize
virtual StatusCode initialize() override
Definition
GlobalSimulationAlg.cxx:18
GlobalSim::GlobalSimulationAlg::m_useTestInputEvent
Gaudi::Property< bool > m_useTestInputEvent
Definition
GlobalSimulationAlg.h:46
GlobalSim::GlobalSimulationAlg::m_TIPwriters
ToolHandleArray< ITIPWriterAlgTool > m_TIPwriters
Definition
GlobalSimulationAlg.h:55
GlobalSim::GlobalSimulationAlg::m_enableDumps
Gaudi::Property< bool > m_enableDumps
Definition
GlobalSimulationAlg.h:62
GlobalSim::GlobalSimulationAlg::GlobalSimulationAlg
GlobalSimulationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GlobalSimulationAlg.cxx:13
GlobalSim::GlobalSimulationAlg::m_tipWordKey
SG::WriteHandleKey< TIPword > m_tipWordKey
Definition
GlobalSimulationAlg.h:38
GlobalSim::GlobalSimulationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
GlobalSimulationAlg.cxx:63
GlobalSim::GlobalSimulationAlg::m_algTools
ToolHandleArray< IGlobalSimAlgTool > m_algTools
Definition
GlobalSimulationAlg.h:49
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
BitSpec.h:23
Generated on
for ATLAS Offline Software by
1.17.0