From 70644907e835d819c7f11aeb1b64cf23634f90cb Mon Sep 17 00:00:00 2001 From: benedikt-voelkel Date: Mon, 12 Feb 2024 16:50:35 +0100 Subject: [PATCH] Make hmp-matcher-workflow respect selected sources --- Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx b/Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx index 2784b48161f80..2d748ae3cffb3 100644 --- a/Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx +++ b/Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx @@ -94,7 +94,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext) GID::mask_t alowedSources = GID::getSourcesMask("ITS-TPC,TPC-TRD,TPC-TOF,ITS-TPC-TRD,ITS-TPC-TOF,TPC-TRD-TOF,ITS-TPC-TRD-TOF"); - GID::mask_t src = alowedSources; + GID::mask_t src = alowedSources & GID::getSourcesMask(configcontext.options().get("track-sources")); GID::mask_t mcmaskcl; GID::mask_t nonemask = GID::getSourcesMask(GID::NONE);