We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be1271 commit 9bd6ceaCopy full SHA for 9bd6cea
1 file changed
PWGDQ/Tasks/mftMchMatcher.cxx
@@ -565,7 +565,9 @@ struct mftMchMatcher {
565
auto const& mftTrack = muonTrack.template matchMFTTrack_as<TMFTS>();
566
567
if (!muonTrack.has_mcParticle() || !mftTrack.has_mcParticle()) {
568
- return result;
+ // if either the MCH or the MFT tracks are fakes (not associated to any MC particles)
569
+ // we consider the match as fake
570
+ return (isBestMatch ? kMatchTypeFakeLeading : kMatchTypeFakeNonLeading);
571
}
572
573
bool isPaired = isPairedMuon(mchTrack.globalIndex(), matchablePairs);
0 commit comments