The Gaudi Framework  v30r3 (a5ef0a68)
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")
The Application Manager class.