11 from Configurables
import (
13 AvalancheSchedulerSvc,
34 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
42 slimeventloopmgr = HiveSlimEventLoopMgr(OutputLevel=DEBUG)
51 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=algosInFlight, OutputLevel=DEBUG)
57 AlgResourcePool(OutputLevel=DEBUG)
59 CPUCrunchSvc(shortCalib=
True)
65 a1 = CPUCruncher(
"A1")
66 a1.outKeys = [
"/Event/a1"]
68 a2 = CPUCruncher(
"A2")
69 a2.inpKeys = [
"/Event/a1"]
70 a2.outKeys = [
"/Event/a2"]
72 a3 = CPUCruncher(
"A3")
73 a3.inpKeys = [
"/Event/a1"]
74 a3.outKeys = [
"/Event/a3"]
76 a4 = CPUCruncher(
"A4")
77 a4.inpKeys = [
"/Event/a2"]
78 a4.outKeys = [
"/Event/a4"]
80 for algo
in [a1, a2, a3, a4]:
81 algo.OutputLevel = DEBUG
86 algo.Cardinality = cardinality
88 seq = Gaudi__Sequencer(
89 "CriticalSection", Members=[a1, a2, a4], Sequential=
True, OutputLevel=VERBOSE
99 EventLoop=slimeventloopmgr,
101 MessageSvcType=
"InertMessageSvc",