Merged muonspin/musrfit:root6 into master
This commit is contained in:
commit
bb9942e34b
@ -1827,12 +1827,7 @@ Int_t PMsrHandler::WriteMsrFile(const Char_t *filename, std::map<UInt_t, TString
|
|||||||
if (fGlobal.GetFitRange(j) == -1)
|
if (fGlobal.GetFitRange(j) == -1)
|
||||||
break;
|
break;
|
||||||
UInt_t neededWidth = 7;
|
UInt_t neededWidth = 7;
|
||||||
UInt_t neededPrec = 2;
|
UInt_t neededPrec = LastSignificant(fGlobal.GetFitRange(j));
|
||||||
if (fGlobal.GetFitRange(j) > 0.0) { // global fit range present
|
|
||||||
LastSignificant(fGlobal.GetFitRange(j));
|
|
||||||
} else { // global fit range absent
|
|
||||||
neededPrec = LastSignificant(fRuns[i].GetFitRange(j));
|
|
||||||
}
|
|
||||||
fout.width(neededWidth);
|
fout.width(neededWidth);
|
||||||
fout.precision(neededPrec);
|
fout.precision(neededPrec);
|
||||||
fout << std::left << std::fixed << fGlobal.GetFitRange(j);
|
fout << std::left << std::fixed << fGlobal.GetFitRange(j);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user