Skip to content

Commit

Permalink
[PWGCF] Added minus for QxA instead of QxC (#9267)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnkoster authored Jan 10, 2025
1 parent 0b862ed commit d632a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PWGCF/Flow/TableProducer/zdcQVectors.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d632a38

Please sign in to comment.