12 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr,
13 AvalancheSchedulerSvc, AlgResourcePool, CPUCruncher,
14 ContextEventCounterPtr, ContextEventCounterData,
15 CPUCrunchSvc, GaudiSequencer)
47 ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
62 a1.outKeys = [
'/Event/a1']
65 a2.inpKeys = [
'/Event/a1']
66 a2.outKeys = [
'/Event/a2']
69 a3.inpKeys = [
'/Event/a1']
70 a3.outKeys = [
'/Event/a3']
73 a4.inpKeys = [
'/Event/a2']
74 a4.outKeys = [
'/Event/a4']
76 for algo
in [a1, a2, a3, a4]:
77 algo.OutputLevel = DEBUG
82 algo.Cardinality = cardinality
97 EventLoop=slimeventloopmgr,
99 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.