How to print the GetMaximum bin content value on top of "histo" oprion?

Hello

Is there a way to print on top of the GetMaximumBin() bin its value along with the “hist” option ?

“hist text” works but prints the value for all bins tough.

Thanks

Alex

root [0] hpx->Draw()
root [1] Int_t b = hpx->GetMaximumBin()
(Int_t) 50
root [2] Double_t x = hpx->GetBinCenter(b)
(Double_t) -0.0400000
root [3] Double_t y = hpx->GetBinContent(b)
(Double_t) 811.000
root [4] TText t(x,y,"Max");
root [5] t.Draw()