The Gaudi Framework  master (37c0b60a)
ToolHandles.py
Go to the documentation of this file.
1 
11 from Configurables import AvalancheSchedulerSvc
12 from Configurables import Gaudi__TestSuite__THDataConsumer as THDataConsumer
13 from Configurables import Gaudi__TestSuite__THDataProducer as THDataProducer
14 from Configurables import Gaudi__TestSuite__THDataProducer2 as THDataProducer2
15 from Configurables import HiveSlimEventLoopMgr, HiveWhiteBoard
16 from Gaudi.Configuration import *
17 
18 # Application setup
19 whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=2)
20 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=INFO)
21 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=2)
22 
23 # - Algorithms
24 topalgs = [
25  THDataProducer("THDataProducer", OutputLevel=DEBUG),
26  THDataProducer2("THDataProducer2", OutputLevel=DEBUG),
27  THDataConsumer("THDataConsumer", OutputLevel=DEBUG),
28 ]
29 
30 topalgs[-1].FloatTool.OutputLevel = INFO
31 
32 # Application manager
34  EvtMax=4,
35  ExtSvc=[whiteboard],
36  EventLoop=slimeventloopmgr,
37  TopAlg=topalgs,
38  EvtSel="NONE",
39 )
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57