added the function string mmsetf for DKS.
This commit is contained in:
parent
4dc36ffbae
commit
71fbce110b
@ -5880,9 +5880,10 @@ void PMsrHandler::CheckMaxLikelihood()
|
||||
{
|
||||
if (!fStatistic.fChisq) {
|
||||
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 << ">> 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;
|
||||
fStatistic.fChisq = true;
|
||||
break;
|
||||
@ -6231,6 +6232,22 @@ std::string PMsrHandler::GetDKSTheoryString()
|
||||
result += ", ";
|
||||
result += args[4].Data();
|
||||
result += ")";
|
||||
} else if (fTheory[i].fLine.BeginsWith("muMinusExpTF ", TString::kIgnoreCase) ||
|
||||
fTheory[i].fLine.BeginsWith("mmsetf ")) { // mmsetf -> mmsetf(t, N0, tau, A, lambda, phi, nu)
|
||||
|
||||
result += "mmsetf(t, ";
|
||||
result += args[0].Data();
|
||||
result += ", ";
|
||||
result += args[1].Data();
|
||||
result += ", ";
|
||||
result += args[2].Data();
|
||||
result += ", ";
|
||||
result += args[3].Data();
|
||||
result += ", ";
|
||||
result += args[4].Data();
|
||||
result += ", ";
|
||||
result += args[5].Data();
|
||||
result += ")";
|
||||
} else if (fTheory[i].fLine.BeginsWith("+")) {
|
||||
result.erase(result.end()-3, result.end()); // remove the '*' at the end
|
||||
result += " + ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user