RooHistPdf 2d integration

Dear experts,

I am having trouble in the integration of a RooHistPdf.

I attach a very simple code that reproduces the problem of my macro and a root file containing the source histogram.

The problem is that the integral histo is cleary nn zero in the “signal” range but the pdf integral gives me zero.

Thanks in advance.
Leonardo
test_2dIntegration.C (993 Bytes)
test_file.root (4.2 KB)