ERROR: No integration method has been defined

Dear Experts,
I’m getting the following error in RooFit:

ERROR:Integration – RooNumIntFactory::createIntegrator: No integration method has been defined for an open ended 2-dimensional integral

How can I solve it ?
Many thanks,

  • Mauro.


You should set boundary on the integration variables


Hi Lorenzo,
many thanks for your reply.

I order for me to to understand it better:
let’s say I have a 2D Gaussian. Even in this case
I have to set limits on the integration variables ?

Many thanks,

  • Mauro.

Yes, the numerical integration method works only if the variables are bounded. However, you could apply a variable transformation to transform from open to bounded variables, but this is bit currently implemented in the code, you will have to do yourself