We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02472e8 commit 9789e1bCopy full SHA for 9789e1b
1 file changed
PWGDQ/Tasks/mftMchMatcher.cxx
@@ -549,7 +549,7 @@ struct mftMchMatcher {
549
auto const& mchTrack = muonTrack.template matchMCHTrack_as<TMUONS>();
550
auto const& mftTrack = muonTrack.template matchMFTTrack_as<TMFTS>();
551
552
- if (!muonTrack.has_mcParticle() || !mftTrack.has_mcParticle()) {
+ if (!mchTrack.has_mcParticle() || !mftTrack.has_mcParticle()) {
553
// if either the MCH or the MFT tracks are fakes (not associated to any MC particles)
554
// we consider the match as fake
555
return (isBestMatch ? kMatchTypeFakeLeading : kMatchTypeFakeNonLeading);
0 commit comments