I created a RooNDKeysPDF object with low statistics, so it has some spikes and all. I noticed, however, that if i generate a new dataset based on this PDF, there are differences between the following:
- generating a RooDataSet with generate() and then creating the binnedClone()
- generating a RooDataHist with generateBinned()
The former seems to be more precise, but more time consuming.
I’m guessing this has something to do with the internal integrator. I tried to play around with the RooFoamGenerator and setting some parameters, but with no luck.
Are there any options that I’m missing?