Change TH1F to TH1D