Skip to content

Commit eabba5f

Browse files
committed
Found the bug where I loose clusters
1 parent bb163ea commit eabba5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ int32_t GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
632632
clustererNN.nnClusterizerTotalClusters = maxClusters;
633633
clustererNN.nnClassThreshold = nn_settings.nnClassThreshold;
634634
clustererNN.nnSigmoidTrafoClassThreshold = nn_settings.nnSigmoidTrafoClassThreshold;
635+
if (clustererNN.nnSigmoidTrafoClassThreshold) {
636+
clustererNN.nnClassThreshold = (float)std::log(clustererNN.nnClassThreshold / (1.f - clustererNN.nnClassThreshold));
637+
}
635638
if (nn_settings.nnClusterizerVerbosity < 0) {
636639
clustererNN.nnClusterizerVerbosity = nn_settings.nnInferenceVerbosity;
637640
} else {

0 commit comments

Comments
 (0)