diff --git a/src/classes/PRunAsymmetry.cpp b/src/classes/PRunAsymmetry.cpp index 7b173222..5ecb8d0d 100644 --- a/src/classes/PRunAsymmetry.cpp +++ b/src/classes/PRunAsymmetry.cpp @@ -736,7 +736,7 @@ Bool_t PRunAsymmetry::PrepareData() // subtract background from histogramms ------------------------------------------ if (fRunInfo->GetBkgFix(0) == PMUSR_UNDEFINED) { // no fixed background given - if (fRunInfo->GetBkgRange(0) >= 0) { + if (fRunInfo->GetBkgRange(0) >= 0) { // background range given if (!SubtractEstimatedBkg()) return false; } else { // no background given to do the job, try to estimate it @@ -788,8 +788,8 @@ Bool_t PRunAsymmetry::PrepareData() //-------------------------------------------------------------------------- /** *
Subtracts a fixed background from the raw data. The background is given
- * in units of (1/ns). The error propagation
- * is done the following way: it is assumed that the error of the background
+ * in units of (1/bin); for the Asymmetry representation (1/ns) doesn't make too much sense.
+ * The error propagation is done the following way: it is assumed that the error of the background
* is Poisson like, i.e. \f$\Delta\mathrm{bkg} = \sqrt{\mathrm{bkg}}\f$.
*
* Error propagation:
@@ -806,18 +806,21 @@ Bool_t PRunAsymmetry::SubtractFixBkg()
{
Double_t dval;
for (UInt_t i=0; i