How to locate the bin of the minimum bin content

I am trying to find the bin number, that contains the minimum (or maximum) bin contents, in a histogram.
I am able to find what the minimum is by using

but I want to know what is the bin number that has that value.

An y idea how to do that?

How about: TH1::GetMinimumBin

Because I want to avoid 0.
My histograms, have zeros and I don’t want to count them.
I was able to find it using

Double_t minimumBinContent = h1->GetMinimum(0); Int_t minimumBin = 0; h1->GetBinWithContent(minimumBinContent,minimumBin,0);