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