Deprecated: Array and string offset access syntax with curly braces is deprecated in /mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/init.php on line 542
ja:root:wantto1

ヒストグラムが最大値を取るX座標を取ってきたい

histo->GetXaxis()->GetBinCenter(histo->GetMaximumBin());

とすればよい。