The Gaudi Framework
master (1bab3404)
Toggle main menu visibility
Loading...
Searching...
No Matches
AlgToolsClone.py
Go to the documentation of this file.
1
14
from
Configurables
import
(
15
AlgResourcePool,
16
GaudiTestSuiteCommonConf,
17
HiveSlimEventLoopMgr,
18
HiveWhiteBoard,
19
MyAlgorithm,
20
ToolSvc,
21
)
22
from
Gaudi.Configuration
import
*
23
24
GaudiTestSuiteCommonConf()
25
26
myalg =
MyAlgorithm
(
27
"MyAlg"
,
28
PrivateToolsOnly=
True
,
29
Cardinality=20,
30
# this is needed because by default (for testing)
31
# MyAlgorithm default configuration is meant to fail
32
InvalidToolHandle=
""
,
33
)
34
35
ToolSvc
(OutputLevel=INFO)
36
37
algResourcePool =
AlgResourcePool
(OutputLevel=INFO)
38
slimeventloopmgr =
HiveSlimEventLoopMgr
(
39
SchedulerName=
"AvalancheSchedulerSvc"
, OutputLevel=INFO
40
)
41
whiteboard =
HiveWhiteBoard
(
"EventDataSvc"
)
42
43
ApplicationMgr
(
44
EvtMax=1,
45
EvtSel=
"NONE"
,
46
HistogramPersistency=
"NONE"
,
47
EventLoop=slimeventloopmgr,
48
ExtSvc=[algResourcePool, whiteboard],
49
TopAlg=[myalg],
50
)
AlgResourcePool
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
Definition
AlgResourcePool.h:35
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
HiveSlimEventLoopMgr
Definition
HiveSlimEventLoopMgr.h:31
HiveWhiteBoard
Data service base class.
Definition
HiveWhiteBoard.cpp:100
MyAlgorithm
Trivial Algorithm for tutorial purposes.
Definition
MyAlgorithm.h:21
ToolSvc
This service manages tools.
Definition
ToolSvc.cpp:45
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
AlgToolsClone.py
Generated on
for The Gaudi Framework by
1.17.0