Skip to content
Snippets Groups Projects
Commit 54ae3855 authored by Gerhard Raven's avatar Gerhard Raven
Browse files

follow changes in LHCb!4106

parent e4ca9f20
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!899follow changes in LHCb!4106
Pipeline #5545860 failed
......@@ -13,6 +13,7 @@ import logging
import itertools
from collections import OrderedDict
from GaudiConf.LbExec import InputProcessTypes
from PyConf.Algorithms import LoKi__HDRFilter, LoKi__VoidFilter, VoidFilter
from PyConf.reading import get_particles, get_decreports, get_hlt_reports, dstdata_filter
import Functors as F
......@@ -139,7 +140,10 @@ def apply_filters(options, algs_dict):
# This filter will skip events with empty DstData but a positive line decision.
# It will only be applied to the input_process where DstData bank is produced (Hlt2, Turbo, Spruce).
if options.input_process in {"TurboPass", "Spruce", "Hlt2"}:
algs_list += [dstdata_filter(source=options.input_process)]
algs_list += [
dstdata_filter(
source=InputProcessTypes(options.input_process).sourceID())
]
if options.evt_pre_filters:
evt_pre_filters = []
......
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