converted hist from TH1D to TH1F