The best guess is to integrate the function. For a binned distribution, this is just summing the entries in the bins. Fortunately, ROOT prints in the top corner that the number of entries is 7039.
If you have a extended RooAddPdf, you can use expectedEvents for each of the component of the two pdfs. Or you can specify the normalization coefficients you have defined with the constructor
Hi, I’m just copying the function form, the parameter name, etc. You can leave the recursiveFraction argument as blank, i.e. it will take kFALSE, the default value.
However, your error is due to that you didn’t define recursiveFractions. c++ is different from python in that when calling function, the name of parameters are not specified.