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