Hi,
I want to pass parameters to the function in IntegratorMultiDim. In plane GSL, the parameters in function is passed like this:
struct my_para para;
para.b = 2.0;
gsl_monte_function G = {&fun, ndim, ¶}
I wonder how to pass the parameters in root version? Here is my sample not-working code:
struct my_para para;
para.b = 4.0;
ROOT::Math::Functor wf(&fun, 2, ¶);
......
......
ROOT::Math::IntegratorMultiDim ig(ROOT::Math::IntegrationMultiDim::kVEGAS);
......
......
Thanks.