From 2c042ceb0d75ee71e104a1f1dcf18f4037bac6c1 Mon Sep 17 00:00:00 2001 From: junleekim Date: Sat, 24 Aug 2024 15:13:51 +0900 Subject: [PATCH] fix bug --- 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 918bbce0935..f40e6109551 100644 --- a/Common/Tasks/qVectorsCorrection.cxx +++ b/Common/Tasks/qVectorsCorrection.cxx @@ -233,7 +233,7 @@ struct qVectorsCorrection { template void fillHistosFlow(const CollType& coll, const TrackType& track, int nmode) { - if (coll.qvecAmp()[DetId] < 1e-8 || coll.qvecAmp()[RefAId] > 1e-8 || coll.qvecAmp()[RefBId] > 1e-8) { + if (coll.qvecAmp()[DetId] < 1e-8 || coll.qvecAmp()[RefAId] < 1e-8 || coll.qvecAmp()[RefBId] < 1e-8) { return; } int DetInd = DetId * 4 + cfgnTotalSystem * 4 * (nmode - 2);