also apply the parameter rounding onto the per run block estimate.

This commit is contained in:
2025-07-03 09:50:48 +02:00
parent 1aa7e6941f
commit 781a2e7dbd

View File

@ -2192,9 +2192,9 @@ Bool_t PFitter::ExecuteSave(Bool_t firstSave)
std::vector<Double_t> chisqPerRun; std::vector<Double_t> chisqPerRun;
for (UInt_t i=0; i<fRunInfo->GetMsrRunList()->size(); i++) { for (UInt_t i=0; i<fRunInfo->GetMsrRunList()->size(); i++) {
if (fUseChi2) if (fUseChi2)
chisqPerRun.push_back(fRunListCollection->GetSingleRunChisq(param, i)); chisqPerRun.push_back(fRunListCollection->GetSingleRunChisq(par_r, i));
else 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 if (totalExpectedChisq != 0.0) { // i.e. applicable for single histogram fits only