12 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr,
13 AvalancheSchedulerSvc, AlgResourcePool, CPUCruncher,
14 ContextEventCounterPtr, ContextEventCounterData,
15 CPUCrunchSvc, GaudiSequencer)
29 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
37 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=DEBUG)
46 scheduler = AvalancheSchedulerSvc(
47 ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
53 AlgResourcePool(OutputLevel=DEBUG)
55 CPUCrunchSvc(shortCalib=
True)
61 a1 = CPUCruncher(
"A1")
62 a1.outKeys = [
'/Event/a1']
64 a2 = CPUCruncher(
"A2")
65 a2.inpKeys = [
'/Event/a1']
66 a2.outKeys = [
'/Event/a2']
68 a3 = CPUCruncher(
"A3")
69 a3.inpKeys = [
'/Event/a1']
70 a3.outKeys = [
'/Event/a3']
72 a4 = CPUCruncher(
"A4")
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")