Skip to content

Commit 28f5ca6

Browse files
committed
Reverse deltaEta/Phi
1 parent 2596de8 commit 28f5ca6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGDQ/Tasks/taskJPsiMu.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ struct DqJPsiMuonCorrelations {
202202
}
203203

204204
// 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();
205+
float deltaEta = dilepton.eta() - track.eta();
206+
float deltaPhi = dilepton.phi() - track.phi();
207207
if (deltaPhi < -constants::math::PI/2.0f) {
208208
deltaPhi += 2.0f * constants::math::PI;
209209
} else if (deltaPhi > constants::math::PI*3.0f/2.0f) {

0 commit comments

Comments
 (0)