Histogram first/last non-zero bin

Hi,

I have a quite basic question concerning TH1 classes: Is there a quick way to get the first/last non-zero entry in a histogram (not considering over/underflow) ? I know how to get it myself, I was just wondering if there is a good solution already in place.

Cheers,

Erik

see for example

virtual Int_t TH1::FindFirstBinAbove(Double_t threshold=0, Int_t axis=1) const; virtual Int_t TH1::FindLastBinAbove (Double_t threshold=0, Int_t axis=1) const;
Rene