Ignore:
Timestamp:
10/22/04 15:59:02 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamera.cc

    r5298 r5307  
    11591159        const Double_t error = fSumw2.fArray[bin]/GetEntries();
    11601160        const Double_t val   = fArray[bin]/GetEntries();
    1161         rc = TMath::Sqrt(error - val*val);
     1161        rc = val*val>error ? 0 : TMath::Sqrt(error - val*val);
    11621162    }
    11631163    else
    1164     {
    11651164        rc = TH1D::GetBinError(bin);
    1166     }
    11671165
    11681166    return Profile(rc);
Note: See TracChangeset for help on using the changeset viewer.