From 999b82008bd3f93b2afe78d742165747c9708560 Mon Sep 17 00:00:00 2001 From: nemu Date: Thu, 13 Nov 2008 06:23:03 +0000 Subject: [PATCH] fixed some typo in the musrfit and musrview help. Added some more digits to gamma_mu --- src/classes/PFunction.cpp | 2 +- src/musrfit.cpp | 4 ++-- src/musrview.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/classes/PFunction.cpp b/src/classes/PFunction.cpp index 7f6311d0..75cbee26 100644 --- a/src/classes/PFunction.cpp +++ b/src/classes/PFunction.cpp @@ -166,7 +166,7 @@ void PFunction::FillFuncEvalTree(iter_t const& i, PFuncTreeNode &node) node.fDvalue = 3.14159265358979323846; // keep the value } else if (i->value.id() == PFunctionGrammar::constGammaMuID) { // handle constant gamma_mu node.fID = PFunctionGrammar::constGammaMuID; // keep the ID - node.fDvalue = 0.01355; // keep the value + node.fDvalue = 0.0135538817; // keep the value } else if (i->value.id() == PFunctionGrammar::parameterID) { // handle parameter number str = string(i->value.begin(), i->value.end()); // get string status = sscanf(str.c_str(), "PAR%d", &ivalue); // convert string to parameter number diff --git a/src/musrfit.cpp b/src/musrfit.cpp index d114cc65..c5c09e92 100644 --- a/src/musrfit.cpp +++ b/src/musrfit.cpp @@ -59,9 +59,9 @@ void musrfit_syntax() { cout << endl << "usage: musrfit [ [-k, --keep-mn2-ouput] [--debug] [--dump ]] | --version | --help"; cout << endl << " : msr input file"; - cout << endl << " 'musrfit ' will execute msrfit"; + cout << endl << " 'musrfit ' will execute musrfit"; cout << endl << " 'musrfit' or 'musrfit --help' will show this help"; - cout << endl << " 'musrfit --version' will print the msrfit version"; + cout << endl << " 'musrfit --version' will print the musrfit version"; cout << endl << " -k, --keep-mn2-output: will rename the files MINUIT2.OUTPUT and "; cout << endl << " MINUIT2.root to -mn2.output and -mn2.root, repectively,"; cout << endl << " e.g. = 147.msr -> 147-mn2.output, 147-mn2.root"; diff --git a/src/musrview.cpp b/src/musrview.cpp index bc54ccf6..5fcec72f 100644 --- a/src/musrview.cpp +++ b/src/musrview.cpp @@ -57,9 +57,9 @@ void musrview_syntax() { cout << endl << "usage: musrview | --version | --help"; cout << endl << " : msr/mlog input file"; - cout << endl << " 'musrview ' will execute msrfit"; - cout << endl << " 'musrview' or 'msrfit --help' will show this help"; - cout << endl << " 'musrview --version' will print the msrfit version"; + cout << endl << " 'musrview ' will execute musrview"; + cout << endl << " 'musrview' or 'musrview --help' will show this help"; + cout << endl << " 'musrview --version' will print the musrview version"; cout << endl << endl; }