diff --git a/Common/Tasks/qVectorsCorrection.cxx b/Common/Tasks/qVectorsCorrection.cxx index 4ef6490358f..56d488a7836 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())