Skip to content

Commit 9789e1b

Browse files
committed
[PWGDQ] small fix in MC particle association check
1 parent 02472e8 commit 9789e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Tasks/mftMchMatcher.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ struct mftMchMatcher {
549549
auto const& mchTrack = muonTrack.template matchMCHTrack_as<TMUONS>();
550550
auto const& mftTrack = muonTrack.template matchMFTTrack_as<TMFTS>();
551551

552-
if (!muonTrack.has_mcParticle() || !mftTrack.has_mcParticle()) {
552+
if (!mchTrack.has_mcParticle() || !mftTrack.has_mcParticle()) {
553553
// if either the MCH or the MFT tracks are fakes (not associated to any MC particles)
554554
// we consider the match as fake
555555
return (isBestMatch ? kMatchTypeFakeLeading : kMatchTypeFakeNonLeading);

0 commit comments

Comments
 (0)