We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2596de8 commit 28f5ca6Copy full SHA for 28f5ca6
1 file changed
PWGDQ/Tasks/taskJPsiMu.cxx
@@ -202,8 +202,8 @@ struct DqJPsiMuonCorrelations {
202
}
203
204
// Compute deltaEta and deltaPhi between the dilepton and the associated muon
205
- float deltaEta = track.eta() - dilepton.eta();
206
- float deltaPhi = track.phi() - dilepton.phi();
+ float deltaEta = dilepton.eta() - track.eta();
+ float deltaPhi = dilepton.phi() - track.phi();
207
if (deltaPhi < -constants::math::PI/2.0f) {
208
deltaPhi += 2.0f * constants::math::PI;
209
} else if (deltaPhi > constants::math::PI*3.0f/2.0f) {
0 commit comments