Skip to content
Snippets Groups Projects
Commit 89022fd6 authored by Andre Gunther's avatar Andre Gunther :island:
Browse files

Merge branch 'sevda-decreports-filter' into 'master'

decreports filter without functors

See merge request !3054
parents 8fcd82d7 624113b6
No related branches found
No related tags found
2 merge requests!4232Run5: rebase, restructure run5 code, add back examples,!3054decreports filter without functors
Pipeline #7092473 passed with warnings
...@@ -10,11 +10,10 @@ ...@@ -10,11 +10,10 @@
############################################################################### ###############################################################################
import re, logging, inspect import re, logging, inspect
from collections import namedtuple from collections import namedtuple
import Functors as F
from Allen.config import allen_detectors, run_allen_reconstruction # noqa: F401 from Allen.config import allen_detectors, run_allen_reconstruction # noqa: F401
from PyConf import configurable from PyConf import configurable
from PyConf.Algorithms import (VoidFilter, HltDecReportsMonitor, from PyConf.Algorithms import (HltDecReportsFilter, HltDecReportsMonitor,
DeterministicPrescaler, HltRoutingBitsFilter, DeterministicPrescaler, HltRoutingBitsFilter,
LHCb__Tests__RunEventCountAlg) LHCb__Tests__RunEventCountAlg)
...@@ -192,10 +191,9 @@ def moore_control_flow(options, streams, process, analytics=False): ...@@ -192,10 +191,9 @@ def moore_control_flow(options, streams, process, analytics=False):
dec_reports=dec_reports, dec_reports=dec_reports,
extra_locations=extra_locations_to_persist) extra_locations=extra_locations_to_persist)
streamFilter = VoidFilter( streamFilter = HltDecReportsFilter(
Cut=F.DECREPORTS_FILTER( Lines=list(line.decision_name for line in stream.lines),
Lines=list(line.decision_name for line in stream.lines), DecReports=dec_reports.DecReportsLocation)
DecReports=dec_reports.DecReportsLocation))
stream_node_children = [streamFilter] stream_node_children = [streamFilter]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment