From c41fe0942276c66bacc33d330484c42df85a6283 Mon Sep 17 00:00:00 2001 From: nemu Date: Thu, 7 Oct 2010 05:42:21 +0000 Subject: [PATCH] fixed mangled chisq/maxLH issue (MUSR-148) --- ChangeLog | 1 + src/classes/PMsrHandler.cpp | 43 ++++++++++++++----------------------- 2 files changed, 17 insertions(+), 27 deletions(-) diff --git a/ChangeLog b/ChangeLog index faf1547a..32050e18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ NEW integration of a few external musrfit plug-ins into the standard build proce NEW default estimates for 'data' and 'background' entries in RUN blocks NEW directory with some msr- and data-files for quick testing of new musrfit installations NEW option to musrt0: the key 'T' will set the t0 cursor to the maximum of the histogram +FIXED chisq/maxLH lables in the statistics block are properly handled now (MUSR-148) FIXED y-unzoom failure for musrt0 (MUSR-77) FIXED fitting issue for boundaries none/none (MUSR-136) FIXED formatting of the ASCII fit output file for long parameter names (MUSR-142) diff --git a/src/classes/PMsrHandler.cpp b/src/classes/PMsrHandler.cpp index feeccd0a..decba739 100644 --- a/src/classes/PMsrHandler.cpp +++ b/src/classes/PMsrHandler.cpp @@ -247,6 +247,13 @@ Int_t PMsrHandler::ReadMsrFile() if (!HandleStatisticEntry(statistic)) result = PMUSR_MSR_SYNTAX_ERROR; + // check if chisq or max.log likelihood + fStatistic.fChisq = true; + for (UInt_t i=0; i