if the background is estimated from an interval rather than fitted, it will be added as a comment to the background interval tag. (MUSR-192)

This commit is contained in:
2011-11-15 08:46:00 +00:00
parent a63ed33de7
commit 379345496b
6 changed files with 77 additions and 4 deletions

View File

@ -1358,7 +1358,7 @@ Bool_t PRunSingleHisto::EstimateBkg(UInt_t histoNo)
else
fBackground = bkg * fRunInfo->GetPacking(); // keep background (per bin)
cout << endl << ">> fRunInfo->fRunName=" << fRunInfo->GetRunName()->Data() << ", histNo=" << histoNo << ", fBackground=" << fBackground;
fRunInfo->SetBkgEstimated(fBackground, 0);
return true;
}