From c905d7b5e3663aedfe44384163aab2f33045b590 Mon Sep 17 00:00:00 2001 From: SCHOTTER Romain <47983209+romainschotter@users.noreply.github.com> Date: Wed, 16 Sep 2026 21:56:49 +0200 Subject: [PATCH] Add configurable to enable/disable side-based TPC drift correction --- PWGLF/Utils/strangenessBuilderModule.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PWGLF/Utils/strangenessBuilderModule.h b/PWGLF/Utils/strangenessBuilderModule.h index 8b343925231..82363d970c0 100644 --- a/PWGLF/Utils/strangenessBuilderModule.h +++ b/PWGLF/Utils/strangenessBuilderModule.h @@ -345,6 +345,7 @@ struct v0Configurables : o2::framework::ConfigurableGroup { std::string prefix = "v0BuilderOpts"; o2::framework::Configurable generatePhotonCandidates{"generatePhotonCandidates", false, "generate gamma conversion candidates (V0s using TPC-only tracks)"}; o2::framework::Configurable moveTPCOnlyTracks{"moveTPCOnlyTracks", true, "if dealing with TPC-only tracks, move them according to TPC drift / time info"}; + o2::framework::Configurable useSideBasedCorrection{"useSideBasedCorrection", false, "when moving TPC-only tracks, use TPC side flags (with legacy fallback) instead of tgl sign"}; // baseline conditionals of V0 building o2::framework::Configurable minCrossedRows{"minCrossedRows", 50, "minimum TPC crossed rows for daughter tracks"}; @@ -835,6 +836,8 @@ class BuilderModule if (eventSelectOpts.cfgApplyRCTrequirement) { rctFlagsChecker.init(eventSelectOpts.cfgRCTLabel.value, eventSelectOpts.cfgCheckZDC, eventSelectOpts.cfgTreatLimitedAcceptanceAsBad); } + + mVDriftMgr.setUseSideBasedCorrection(v0BuilderOpts.useSideBasedCorrection.value); } // for sorting