Skip to content

Commit

Permalink
[PWGDQ] Fixing issue with MCH and MFT track Ids (#9264)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucamicheletti93 <[email protected]>
  • Loading branch information
lucamicheletti93 and lucamicheletti authored Jan 10, 2025
1 parent 6a17c16 commit 0b862ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PWGDQ/Tasks/dqEfficiency_withAssoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1592,9 +1592,9 @@ struct AnalysisSameEventPairing {
}
auto t1 = a1.template reducedmuon_as<TTracks>();
auto t2 = a2.template reducedmuon_as<TTracks>();
if (t1.matchMCHTrackId() == t2.matchMCHTrackId())
if (t1.matchMCHTrackId() == t2.matchMCHTrackId() && t1.matchMCHTrackId() >= 0)
continue;
if (t1.matchMFTTrackId() == t2.matchMFTTrackId())
if (t1.matchMFTTrackId() == t2.matchMFTTrackId() && t1.matchMFTTrackId() >= 0)
continue;
sign1 = t1.sign();
sign2 = t2.sign();
Expand Down

0 comments on commit 0b862ed

Please sign in to comment.