13A test modeling a production with subsequent modification of a data object. '/Event/B' experiences a conditional modification,
14while '/Event/A' - an unconditional one:
15 (C): '/Event/B' <---- | UpdaterAlg3 (C) | ProducerAlg2 (C) |
16 (U): '/Event/A' <---- | UpdaterAlg2 (U) | ProducerAlg1 (C) | UpdaterAlg4 (U) | UpdaterAlg1 (C) |
19from Configurables
import (
20 AvalancheSchedulerSvc,
38whiteboard =
HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots, OutputLevel=INFO)
41 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
47producerAlg1.outKeys = [
"/Event/A"]
50updaterAlg1.outKeys = [
"/Event/A"]
53updaterAlg2.outKeys = [
"/Event/A"]
56producerAlg2.inpKeys = [
"/Event/A"]
57producerAlg2.outKeys = [
"/Event/B"]
60updaterAlg3.outKeys = [
"/Event/B"]
63updaterAlg4.outKeys = [
"/Event/A"]
65branch2 = Gaudi__Sequencer(
"ConditionalBranch", Sequential=
True, ShortCircuit=
True)
66branch2.Members = [producerAlg1, updaterAlg1, producerAlg2, updaterAlg3]
68branch = Gaudi__Sequencer(
"UnConditionalBranch", ShortCircuit=
False)
69branch.Members = [branch2, updaterAlg2, updaterAlg4]
75 EventLoop=slimeventloopmgr,
77 MessageSvcType=
"InertMessageSvc",
The Application Manager class.
A class that implements a search for prime numbers.
A service to resolve the task execution precedence.