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
{{ message }}
Repository navigation
Commit c8d64a5
Browse filesBrowse the repository at this point in the historyBrowse files
[PWGHF] Fix ML score handling in Lc to K0s p tree creator
Accept timeframes with zero candidates and zero ML scores in both data and MC, while rejecting mismatched row counts when ML is enabled. Resolve scores by the underlying candidate row so filtering the MC view cannot shift the score association.
if (applyMl && candidateCount != candidateMlScores.size()) {
258
+
LOGP(fatal, "Candidate and ML score tables have different row counts ({} vs {}) while applyMl is enabled. Check applyMl in the Lc to K0s p candidate selector.", candidateCount, candidateMlScores.size());
259
+
}
260
+
}
261
+
254
262
/// \brief function to get ML score values for the current candidate and assign them to input parameters
255
263
/// \param candidate candidate instance
256
264
/// \param candidateMlScore instance of handler of vectors with ML scores associated with the current candidate
0 commit comments