The Gaudi Framework  master (37c0b60a)
SlimExitWithFailure.py
Go to the documentation of this file.
1 
14 from Configurables import ApplicationMgr, AvalancheSchedulerSvc
15 from Configurables import Gaudi__TestSuite__IntDataConsumer as IntDataConsumer
16 from Configurables import GaudiExamplesCommonConf, HiveSlimEventLoopMgr, HiveWhiteBoard
17 from Gaudi.Configuration import ERROR, WARNING
18 
19 threads = 1
20 
21 GaudiExamplesCommonConf()
22 
23 slimeventloopmgr = HiveSlimEventLoopMgr(
24  SchedulerName="AvalancheSchedulerSvc", OutputLevel=ERROR
25 )
26 whiteboard = HiveWhiteBoard("EventDataSvc")
27 
28 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=WARNING)
29 
30 ApplicationMgr(
31  TopAlg=[IntDataConsumer()],
32  EvtMax=10,
33  EvtSel="NONE",
34  EventLoop=slimeventloopmgr,
35  ExtSvc=[whiteboard],
36 )
Gaudi.Configuration
Definition: Configuration.py:1