From 58f6b3e757f7193393afcae1272a45a9f62d7453 Mon Sep 17 00:00:00 2001 From: Ernst Hellbar Date: Fri, 22 Aug 2025 12:07:49 +0200 Subject: [PATCH] TPC PID: attempt to avoid occasional TMinuit errors --- Modules/TPC/src/PID.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/TPC/src/PID.cxx b/Modules/TPC/src/PID.cxx index 03d9951bb3..e4920a2496 100644 --- a/Modules/TPC/src/PID.cxx +++ b/Modules/TPC/src/PID.cxx @@ -114,7 +114,7 @@ void PID::endOfCycle() fitFunc.SetParameter(5, 10); // Sigma of the second Gaussian // Fit the histogram with the fitting function - hist->Fit(&fitFunc, "QRN"); + hist->Fit(&fitFunc, "QRNM"); const TString binLabels[8] = { "Amplitude Pi", "Mean Pi", "Sigma Pi", "Amplitude El", "Mean El", "Sigma El", "Separation Power", "chiSquare/ndf" };