Skip to content

Commit 6251987

Browse files
sarjeetagamisarjeeta gami
andauthored
fix track identification (#5614)
Co-authored-by: sarjeeta gami <sarjeetagami@sarjeetas-MacBook-Air.local>
1 parent 8605499 commit 6251987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Resonances/kstarpbpb.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ struct kstarpbpb {
422422
}
423423
daughter1 = ROOT::Math::PxPyPzMVector(track1.px(), track1.py(), track1.pz(), massKa);
424424
daughter2 = ROOT::Math::PxPyPzMVector(track2.px(), track2.py(), track2.pz(), massPi);
425-
} else if (track1kaon && track2pion) {
425+
} else if (track1pion && track2kaon) {
426426
daughter1 = ROOT::Math::PxPyPzMVector(track1.px(), track1.py(), track1.pz(), massPi);
427427
daughter2 = ROOT::Math::PxPyPzMVector(track2.px(), track2.py(), track2.pz(), massKa);
428428
} else {

0 commit comments

Comments
 (0)