RooDataHist and TH1D: why different shape/Bin content?

Dear @as5365 ,

I can reproduce the issue also with the current ROOT development branch.

Constant bin:

Variable bin:

I will ask @jonas for help in understanding the cause of the issue.

Cheers,
Vincenzo