From 7c796754b2bfa3ff6999f24bad210e5ff4b2be4d Mon Sep 17 00:00:00 2001 From: Ravindra Singh <56298081+singhra1994@users.noreply.github.com> Date: Wed, 10 Jun 2026 14:03:02 +0200 Subject: [PATCH] [PWGHF] Add ptThreshold check for force TOF --- PWGHF/HFC/Utils/utilsCorrelations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/HFC/Utils/utilsCorrelations.h b/PWGHF/HFC/Utils/utilsCorrelations.h index 48bf2e3fee1..0f5fea00a9c 100644 --- a/PWGHF/HFC/Utils/utilsCorrelations.h +++ b/PWGHF/HFC/Utils/utilsCorrelations.h @@ -96,7 +96,7 @@ bool passPIDSelection(Atrack const& track, SpeciesContainer const mPIDspecies, auto const& pid = mPIDspecies->at(speciesIndex); auto nSigmaTPC = o2::aod::pidutils::tpcNSigma(pid, track); - if (tofForced && !track.hasTOF()) { + if ((track.pt() > ptThreshold) && !track.hasTOF()) { return false; }