From 781a2e7dbdb18d1e1e7f244bf5f08fd7ad2bda3c Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Thu, 3 Jul 2025 09:50:48 +0200 Subject: [PATCH] also apply the parameter rounding onto the per run block estimate. --- src/classes/PFitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/PFitter.cpp b/src/classes/PFitter.cpp index 0c8a3968..923f39e6 100644 --- a/src/classes/PFitter.cpp +++ b/src/classes/PFitter.cpp @@ -2192,9 +2192,9 @@ Bool_t PFitter::ExecuteSave(Bool_t firstSave) std::vector chisqPerRun; for (UInt_t i=0; iGetMsrRunList()->size(); i++) { if (fUseChi2) - chisqPerRun.push_back(fRunListCollection->GetSingleRunChisq(param, i)); + chisqPerRun.push_back(fRunListCollection->GetSingleRunChisq(par_r, i)); else - chisqPerRun.push_back(fRunListCollection->GetSingleRunMaximumLikelihood(param, i)); + chisqPerRun.push_back(fRunListCollection->GetSingleRunMaximumLikelihood(par_r, i)); } if (totalExpectedChisq != 0.0) { // i.e. applicable for single histogram fits only