The Gaudi Framework  v36r1 (3e2fb5a8)
ToolHandles.py
Go to the documentation of this file.
1 
11 from Gaudi.Configuration import *
12 from Configurables import HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc
13 from Configurables import Gaudi__Examples__THDataProducer as THDataProducer
14 from Configurables import Gaudi__Examples__THDataProducer2 as THDataProducer2
15 from Configurables import Gaudi__Examples__THDataConsumer as THDataConsumer
16 
17 # Application setup
18 whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=2)
19 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=INFO)
20 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=2)
21 
22 # - Algorithms
23 topalgs = [
24  THDataProducer("THDataProducer"),
25  THDataProducer2("THDataProducer2"),
26  THDataConsumer("THDataConsumer")
27 ]
28 
29 # Application manager
31  EvtMax=4, ExtSvc=[whiteboard], EventLoop=slimeventloopmgr, TopAlg=topalgs)
Gaudi.Configuration
Definition: Configuration.py:1
ApplicationMgr
Definition: ApplicationMgr.h:57