The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
MultiMergers.py
Go to the documentation of this file.
11from Configurables import ApplicationMgr, EvtStoreSvc
12from Configurables import Gaudi__TestSuite__IntDataProducer as IntDataProducer
13from Configurables import is2ff_merger, is2ff_merger_filter
14
15int_a = IntDataProducer("IntAProducer", Value=2, OutputLocation="/Event/IntA")
16int_b = IntDataProducer("IntBProducer", Value=3, OutputLocation="/Event/IntB")
17merger = is2ff_merger(InputInts=[str(int_a.OutputLocation), str(int_b.OutputLocation)])
18# This filter should set its status to 'passed' as 2 * 2 * 3 > 10
19merger_filter_passing = is2ff_merger_filter(
20 "MergerFilterPassing",
21 InputInts=[
22 str(int_a.OutputLocation),
23 str(int_a.OutputLocation),
24 str(int_b.OutputLocation),
25 ],
26 O1="/Event/MF/Float1",
27 O2="/Event/MF/Float2",
28)
29# This filter should set its status to 'failed' as 2 * 3 < 10
30merger_filter_failing = is2ff_merger_filter(
31 "MergerFilterFailing",
32 InputInts=[
33 str(int_a.OutputLocation),
34 str(int_b.OutputLocation),
35 ],
36 O1="/Event/MFSwapped/Float1",
37 O2="/Event/MFSwapped/Float2",
38)
39
41 EvtMax=2,
42 EvtSel="NONE",
43 ExtSvc=[EvtStoreSvc("EventDataSvc")],
44 HistogramPersistency="NONE",
45 TopAlg=[
46 int_a,
47 int_b,
48 merger,
49 merger_filter_passing,
50 merger_filter_failing,
51 ],
52)
The Application Manager class.
Use a minimal event store implementation, and adds everything required to satisfy the IDataProviderSv...