The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
ReEntAlg.py
Go to the documentation of this file.
14from Configurables import (
15 AlgResourcePool,
16 AvalancheSchedulerSvc,
17 HiveSlimEventLoopMgr,
18 HiveWhiteBoard,
19 ReEntAlg,
20)
21from Gaudi.Configuration import *
22
23# from Configurables import GaudiTestSuiteCommonConf
24# GaudiTestSuiteCommonConf()
25
26nSlots = 3
27nThread = 3
28
29algCard = 0
30
31# msgFmt = "% F%40W%S%4W%s%e%7W%R%T %0W%M"
32# msgSvc = MessageSvc()
33# msgSvc.Format = msgFmt
34
35scheduler = AvalancheSchedulerSvc(ThreadPoolSize=nThread)
36algResourcePool = AlgResourcePool()
37slimeventloopmgr = HiveSlimEventLoopMgr(SchedulerName=scheduler)
38whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=nSlots)
39
40myralg = ReEntAlg("ReEntAlg", OutputLevel=INFO, Cardinality=algCard, SleepFor=2000)
41
43 EvtMax=10,
44 EvtSel="NONE",
45 HistogramPersistency="NONE",
46 EventLoop=slimeventloopmgr,
47 ExtSvc=[algResourcePool, whiteboard],
48 TopAlg=[myralg],
49 OutputLevel=INFO,
50 MessageSvcType="InertMessageSvc",
51)
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.
Data service base class.
an algorithm to test reentrant Algorithms
Definition ReEntAlg.h:19