From 35f6f802d720176020989a10bb52d01b60ab4fc4 Mon Sep 17 00:00:00 2001 From: benedikt-voelkel Date: Tue, 13 Feb 2024 11:29:51 +0100 Subject: [PATCH] Make hmp-matcher-workflow respect selected sources (#12691) --- 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);