4 from Configurables
import HiveWhiteBoard, HiveSlimEventLoopMgr, ParallelSequentialSchedulerSvc, CPUCruncher,AlgResourcePool
12 scheduler = ParallelSequentialSchedulerSvc(OutputLevel=DEBUG)
14 slimeventloopmgr = HiveSlimEventLoopMgr(SchedulerName=
"ParallelSequentialSchedulerSvc",
17 whiteboard = HiveWhiteBoard(
"EventDataSvc",
18 EventSlots = evtInFlight)
21 algResPool = AlgResourcePool(OutputLevel=DEBUG)
24 DataOutputs = [
'/Event/a1'],
30 DataInputs = [
'/Event/a1'],
31 DataOutputs = [
'/Event/a2'])
34 DataInputs = [
'/Event/a1'],
35 DataOutputs = [
'/Event/a3'])
38 DataInputs = [
'/Event/a2',
'/Event/a3'],
39 DataOutputs = [
'/Event/a4'])
41 for algo
in [a1,a2,a3,a4]:
47 ExtSvc =[whiteboard,algResPool],
48 EventLoop = slimeventloopmgr,
49 TopAlg = [a1,a2,a3,a4],
50 MessageSvcType=
"InertMessageSvc")
Thread safe extension to the standard MessageSvc.
The Application Manager class.