I have the following class, which will integrate a 1-dimensional function and need to figure out how to change it to integrate a 2-dimensional function.
class fIntegrator : public VegasMC {
public:
fIntegrator(int Ndim, int NF = 0): VegasMC(Ndim), nf(NF){}