From d632a38c11f0e23edc22c48733f9ddfa198ddf5d Mon Sep 17 00:00:00 2001 From: Noor Koster <82090643+cnkoster@users.noreply.github.com> Date: Fri, 10 Jan 2025 22:40:27 +0100 Subject: [PATCH] [PWGCF] Added minus for QxA instead of QxC (#9267) --- PWGCF/Flow/TableProducer/zdcQVectors.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGCF/Flow/TableProducer/zdcQVectors.cxx b/PWGCF/Flow/TableProducer/zdcQVectors.cxx index 6a1048ad692..43cdb24087b 100644 --- a/PWGCF/Flow/TableProducer/zdcQVectors.cxx +++ b/PWGCF/Flow/TableProducer/zdcQVectors.cxx @@ -658,7 +658,7 @@ struct ZdcQVectors { int sector = tower % 4; double energy = std::pow(e[tower], alphaZDC); sumZN[side] += energy; - xEnZN[side] += (side == 0) ? pxZDC[sector] * energy : -1.0 * pxZDC[sector] * energy; + xEnZN[side] += (side == 0) ? -1.0 * pxZDC[sector] * energy : pxZDC[sector] * energy; yEnZN[side] += pyZDC[sector] * energy; }