From ca8a2df3a82ea5bc51b50a0d417642a1bcc3bbbf Mon Sep 17 00:00:00 2001 From: Ernst Hellbar Date: Thu, 9 Apr 2026 11:42:50 +0200 Subject: [PATCH] secondary-vertexing-workflow: request CTP sources only if TPC is included --- .../src/secondary-vertexing-workflow.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Detectors/GlobalTrackingWorkflow/src/secondary-vertexing-workflow.cxx b/Detectors/GlobalTrackingWorkflow/src/secondary-vertexing-workflow.cxx index 0ac640cbad9fd..f3d10871dd65c 100644 --- a/Detectors/GlobalTrackingWorkflow/src/secondary-vertexing-workflow.cxx +++ b/Detectors/GlobalTrackingWorkflow/src/secondary-vertexing-workflow.cxx @@ -94,9 +94,9 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext) } if (src[GID::TPC]) { srcClus |= GID::getSourceMask(GID::TPC); - } - if (sclOpt.requestCTPLumi) { - src = src | GID::getSourcesMask("CTP"); + if (sclOpt.requestCTPLumi) { + src = src | GID::getSourcesMask("CTP"); + } } WorkflowSpec specs; if (sclOpt.needTPCScalersWorkflow() && !configcontext.options().get("disable-root-input")) {