Simple Integral

I guess it’s a deficiency in ROOT.
Your function is always 0 except for a very sharp peak around x=1. This fools the “integrator” (it fails to “detect” this peak).