FIXED bug reported in MUSR-183: missing background for 2nd histo in asymmetry fits when using musrt0.

This commit is contained in:
nemu 2011-05-04 05:41:23 +00:00
parent 585fdafe1f
commit a25af63b8e
2 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,7 @@ changes since 0.9.0
===================================
NEW any2many: force the user to define the exact NeXus ouput formate (HDF4,
HDF5, XML)
FIXED bug reported in MUSR-183: missing background for 2nd histo in asymmetry fits when using musrt0.
FIXED Makefiles so that the NeXus support will not be built if it has not been enabled during the configure stage
FIXED ASCII export from musrview in case of a Fourier-Power- or Fourier-Phase-difference plot
FIXED bug in asymmetry fit with fixed background

View File

@ -827,10 +827,12 @@ Int_t PMsrHandler::WriteMsrLogFile(const Bool_t messages)
if (fRuns[runNo].GetBkgRange(0) >= 0) {
fout.width(16);
fout << left << "background";
for (UInt_t j=0; j<2; j++) {
for (UInt_t j=0; j<4; j++) {
if (fRuns[runNo].GetBkgRange(j) > 0) {
fout.width(8);
fout << left << fRuns[runNo].GetBkgRange(j);
}
}
fout << endl;
}
}