fixes the bug of the 'consecutive numbering of functions problem' MUSR-301
This commit is contained in:
@@ -579,7 +579,8 @@ Int_t PMsrHandler::WriteMsrLogFile(const Bool_t messages)
|
|||||||
sstr.Remove(TString::kLeading, ' ');
|
sstr.Remove(TString::kLeading, ' ');
|
||||||
if (str.BeginsWith("fun")) {
|
if (str.BeginsWith("fun")) {
|
||||||
if (FilterNumber(sstr, "fun", 0, number)) {
|
if (FilterNumber(sstr, "fun", 0, number)) {
|
||||||
sstr = fFuncHandler->GetFuncString(number-1);
|
idx = GetFuncIndex(number); // get index of the function number
|
||||||
|
sstr = fFuncHandler->GetFuncString(idx);
|
||||||
sstr.ToLower();
|
sstr.ToLower();
|
||||||
fout << sstr.Data() << endl;
|
fout << sstr.Data() << endl;
|
||||||
}
|
}
|
||||||
@@ -1228,6 +1229,8 @@ Int_t PMsrHandler::WriteMsrLogFile(const Bool_t messages)
|
|||||||
fout << str.Data() << endl;
|
fout << str.Data() << endl;
|
||||||
if (messages)
|
if (messages)
|
||||||
cout << endl << str.Data() << endl;
|
cout << endl << str.Data() << endl;
|
||||||
|
|
||||||
|
// check if per run block maxLH needs to be written
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fout << "*** FIT DID NOT CONVERGE ***" << endl;
|
fout << "*** FIT DID NOT CONVERGE ***" << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user