From e22f4b4e44b430999a938e93552f133361741e4a Mon Sep 17 00:00:00 2001 From: jikim1290 Date: Tue, 4 Nov 2025 15:48:08 +0900 Subject: [PATCH 1/2] adding vtx selection --- Common/Tasks/qVectorsCorrection.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common/Tasks/qVectorsCorrection.cxx b/Common/Tasks/qVectorsCorrection.cxx index 4ef6490358f..1e6f06d729c 100644 --- a/Common/Tasks/qVectorsCorrection.cxx +++ b/Common/Tasks/qVectorsCorrection.cxx @@ -760,6 +760,8 @@ struct qVectorsCorrection { { histosQA.fill(HIST("histCentFull"), qVec.cent()); if (cfgAddEvtSel) { + if (std::abs(qVec.posZ()) > 10. ) + return; switch (cfgEvtSel) { case 0: // Sel8 if (!qVec.sel8()) From 059d7867a3ff39da8424d2f167e4d54ef931f0b3 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 4 Nov 2025 06:49:04 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- Common/Tasks/qVectorsCorrection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Tasks/qVectorsCorrection.cxx b/Common/Tasks/qVectorsCorrection.cxx index 1e6f06d729c..56d488a7836 100644 --- a/Common/Tasks/qVectorsCorrection.cxx +++ b/Common/Tasks/qVectorsCorrection.cxx @@ -760,7 +760,7 @@ struct qVectorsCorrection { { histosQA.fill(HIST("histCentFull"), qVec.cent()); if (cfgAddEvtSel) { - if (std::abs(qVec.posZ()) > 10. ) + if (std::abs(qVec.posZ()) > 10.) return; switch (cfgEvtSel) { case 0: // Sel8