all mu minus fits to run log max likelihood minimization.
This commit is contained in:
parent
2339ee9b80
commit
3dfd348d5e
@ -5866,9 +5866,10 @@ void PMsrHandler::CheckMaxLikelihood()
|
|||||||
{
|
{
|
||||||
if (!fStatistic.fChisq) {
|
if (!fStatistic.fChisq) {
|
||||||
for (UInt_t i=0; i<fRuns.size(); i++) {
|
for (UInt_t i=0; i<fRuns.size(); i++) {
|
||||||
if ((fRuns[i].GetFitType() != MSR_FITTYPE_SINGLE_HISTO) && (fGlobal.GetFitType() != MSR_FITTYPE_SINGLE_HISTO)) {
|
if ((fRuns[i].GetFitType() != MSR_FITTYPE_SINGLE_HISTO) && (fGlobal.GetFitType() != MSR_FITTYPE_SINGLE_HISTO) &&
|
||||||
|
(fRuns[i].GetFitType() != MSR_FITTYPE_MU_MINUS) && (fGlobal.GetFitType() != MSR_FITTYPE_MU_MINUS)) {
|
||||||
cerr << endl << ">> PMsrHandler::CheckMaxLikelihood: **WARNING**: Maximum Log Likelihood Fit is only implemented";
|
cerr << endl << ">> PMsrHandler::CheckMaxLikelihood: **WARNING**: Maximum Log Likelihood Fit is only implemented";
|
||||||
cerr << endl << ">> for Single Histogram Fit. Will fall back to Chi Square Fit.";
|
cerr << endl << ">> for Single Histogram and Mu Minus Fits. Will fall back to Chi Square Fit.";
|
||||||
cerr << endl << endl;
|
cerr << endl << endl;
|
||||||
fStatistic.fChisq = true;
|
fStatistic.fChisq = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user