| The Gaudi Framework v29r1 (5cd95fa2)

- 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, ForwardSchedulerSvc
3
4 evtslots = 10
5
6 whiteboard = HiveWhiteBoard("EventDataSvc",
7 EventSlots=evtslots)
8
9 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=DEBUG)
10
11 scheduler = ForwardSchedulerSvc(MaxAlgosInFlight=20,
12 ThreadPoolSize=8,
13 OutputLevel=WARNING)
14
15 a1 = HiveTestAlgorithm("A1", Output=['/Event/a1'])
16 a2 = HiveTestAlgorithm("A2", Input=['/Event/a1'],
17 Output=['/Event/a2'])
18 a3 = HiveTestAlgorithm("A3", Input=['/Event/a1'],
19 Output=['/Event/a3'])
20 a4 = HiveTestAlgorithm("A4", Input=['/Event/a2', '/Event/a3'],
21 Output=['/Event/a4'])
22
23 ApplicationMgr(EvtMax=100,
24 EvtSel='NONE',
25 ExtSvc=[whiteboard],
26 EventLoop=slimeventloopmgr,
27 TopAlg=[a1, a2, a3, a4],
28 MessageSvcType="InertMessageSvc")
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
The Application Manager class.
Definition: ApplicationMgr.h:47