| The Gaudi Framework v32r1 (f65d50dc)

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