From c04fa27998c2aca6cffb1b695c957dedd56e5628 Mon Sep 17 00:00:00 2001 From: nepeivodaRS <94179174+nepeivodaRS@users.noreply.github.com> Date: Fri, 10 Jul 2026 09:14:21 +0200 Subject: [PATCH 1/2] Fix v0radius condition in v0postprocessing --- PWGLF/Tasks/Strangeness/v0postprocessing.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Strangeness/v0postprocessing.cxx b/PWGLF/Tasks/Strangeness/v0postprocessing.cxx index 6266e18344d..3f8e5c89e66 100644 --- a/PWGLF/Tasks/Strangeness/v0postprocessing.cxx +++ b/PWGLF/Tasks/Strangeness/v0postprocessing.cxx @@ -267,7 +267,7 @@ struct v0postprocessing { return false; registry.fill(HIST("QA/hK0sSelection"), 1.5); - if (candidate.v0radius() < radius && candidate.v0radius() > maxradius) + if (candidate.v0radius() < radius || candidate.v0radius() > maxradius) return false; registry.fill(HIST("QA/hK0sSelection"), 2.5); From 5e925595b5bc2b38cfb6be17dcdb392bcd876617 Mon Sep 17 00:00:00 2001 From: nepeivodaRS <94179174+nepeivodaRS@users.noreply.github.com> Date: Fri, 10 Jul 2026 09:44:20 +0200 Subject: [PATCH 2/2] const ref in the loop --- PWGLF/Tasks/Strangeness/v0postprocessing.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Strangeness/v0postprocessing.cxx b/PWGLF/Tasks/Strangeness/v0postprocessing.cxx index 3f8e5c89e66..aaaa08c4a0b 100644 --- a/PWGLF/Tasks/Strangeness/v0postprocessing.cxx +++ b/PWGLF/Tasks/Strangeness/v0postprocessing.cxx @@ -330,7 +330,7 @@ struct v0postprocessing { void process(aod::MyV0Candidates const& myv0s) { - for (auto& candidate : myv0s) { + for (const auto& candidate : myv0s) { if (doQA) { registry.fill(HIST("QA/hK0sSelection"), 0.5);