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

@ -827,9 +827,11 @@ 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++) {
fout.width(8);
fout << left << fRuns[runNo].GetBkgRange(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;
}