The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
AlgToolsClone.py
Go to the documentation of this file.
14from Configurables import (
15 AlgResourcePool,
16 GaudiTestSuiteCommonConf,
17 HiveSlimEventLoopMgr,
18 HiveWhiteBoard,
19 MyAlgorithm,
20 ToolSvc,
21)
22from Gaudi.Configuration import *
23
24GaudiTestSuiteCommonConf()
25
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
35ToolSvc(OutputLevel=INFO)
36
37algResourcePool = AlgResourcePool(OutputLevel=INFO)
38slimeventloopmgr = HiveSlimEventLoopMgr(
39 SchedulerName="AvalancheSchedulerSvc", OutputLevel=INFO
40)
41whiteboard = HiveWhiteBoard("EventDataSvc")
42
44 EvtMax=1,
45 EvtSel="NONE",
46 HistogramPersistency="NONE",
47 EventLoop=slimeventloopmgr,
48 ExtSvc=[algResourcePool, whiteboard],
49 TopAlg=[myalg],
50)
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.
Data service base class.
Trivial Algorithm for tutorial purposes.
Definition MyAlgorithm.h:21
This service manages tools.
Definition ToolSvc.cpp:45