| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

testWhiteBoard.py
Go to the documentation of this file.
1 from Gaudi.Configuration import *
2 from Configurables import HiveWhiteBoard, HiveSlimEventLoopMgr, HiveTestAlgorithm, AvalancheSchedulerSvc
3
4 evtslots = 10
5
6 whiteboard = HiveWhiteBoard("EventDataSvc",
7 EventSlots=evtslots)
8
9 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=DEBUG)
10
11 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=8,
12 OutputLevel=WARNING)
13
14 a1 = HiveTestAlgorithm("A1", Output=['/Event/a1'])
15 a2 = HiveTestAlgorithm("A2", Input=['/Event/a1'],
16 Output=['/Event/a2'])
17 a3 = HiveTestAlgorithm("A3", Input=['/Event/a1'],
18 Output=['/Event/a3'])
19 a4 = HiveTestAlgorithm("A4", Input=['/Event/a2', '/Event/a3'],
20 Output=['/Event/a4'])
21
22 ApplicationMgr(EvtMax=100,
23 EvtSel='NONE',
24 ExtSvc=[whiteboard],
25 EventLoop=slimeventloopmgr,
26 TopAlg=[a1, a2, a3, a4],
27 MessageSvcType="InertMessageSvc")
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
The Application Manager class.
Definition: ApplicationMgr.h:47