Go to the source code of this file.
Functions | |
| template<class AO > | |
| Int_t | GetXfirstFilledBin (AO *hst) |
| template<class AO > | |
| Int_t | GetXlastFilledBin (AO *hst) |
| void | CleanUpHistogram (TH1 *hist, Double_t factor) |
| void CleanUpHistogram | ( | TH1 * | hist, |
| Double_t | factor | ||
| ) |
Sets bin contents of bins with too large uncertainties to zero.
The function finds the first bin (from the left) where the errorbar exceeds more than 100*factor percent of the range that is spanned by the histogram values and sets the content of this and all following bins to zero
| Int_t GetXfirstFilledBin | ( | AO * | hst | ) |
Finds the first bin from the left with content > 0, if all bins (except last) are empty 0 is returned
| Int_t GetXlastFilledBin | ( | AO * | hst | ) |
Finds the first bin from the right with content > 0, if all bins (except first) are empty last bin is returned
1.8.5