You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fMcMask bit 15 (fake global track label or TOF_label != TPC_lable) was
wrong since original TOF cluster label (set in the reconstruction) was compared
with TPC remapped label prepared for AOD storage.
In fact, we don't need to consider separately the global_label.isFake and TOF-TPC mismach:
TOF is the last detector in the matching process and the global track label is determined
by the TPC track label. Hence, if the TOF match is present but its cluster is not contributed
by the TPC track, the global label isFake will be necessarilly true, and vice versa.
Also, the status of bit 13 (flagging ITS-TPC mismatch) was covering only track-to-track
matches but not those from the afterburner.
Now settings of fakeness relies on the isFake status from the reconstruction.
// bit 13 -- ITS/TPC or TPC/TOF labels are not equal
1062
+
// bit 13 -- ITS/TPC with ITS label (track of AB tracklet) different from TPC
1062
1063
// bit 14 -- isNoise() == true
1063
-
// bit 15 -- isFake() == true
1064
+
// bit 15 -- isFake() == true (defined by the fakeness of the top level global track, i.e. if TOF is present, fake means that the track of the TPC label does not contribute to TOF cluster)
if (labelHolder.labelITS != labelHolder.labelTPC) {
1133
-
LOG(debug) << "ITS-TPC MCTruth: labelIDs do not match at " << trackIndex.getIndex() << ", src = " << src;
1134
-
labelHolder.labelMask |= (0x1 << 13);
1135
-
}
1114
+
labelHolder.labelID = (mToStore[mcTruth.getSourceID()][mcTruth.getEventID()])[mcTruth.getTrackID()]; // defined by TPC if it contributes, otherwise: by ITS
0 commit comments