2 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr,
3 AvalancheSchedulerSvc, AlgResourcePool, CPUCruncher,
4 ContextEventCounterPtr, ContextEventCounterData,
5 CPUCrunchSvc, GaudiSequencer)
37 ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
52 a1.outKeys = [
'/Event/a1']
55 a2.inpKeys = [
'/Event/a1']
56 a2.outKeys = [
'/Event/a2']
59 a3.inpKeys = [
'/Event/a1']
60 a3.outKeys = [
'/Event/a3']
63 a4.inpKeys = [
'/Event/a2']
64 a4.outKeys = [
'/Event/a4']
66 for algo
in [a1, a2, a3, a4]:
67 algo.OutputLevel = DEBUG
72 algo.Cardinality = cardinality
87 EventLoop=slimeventloopmgr,
89 MessageSvcType=
"InertMessageSvc")
A class that implements a search for prime numbers.
Sequencer for executing several algorithms, stopping when one is faulty.
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.