How one can add the freedom to a RooKeysPDF to move/shift in x-axis direction?

Hi Stephan,

The dataset I am fitting is ~100mb and the dataset I am converting to a RooKeysPDF I have reduced to ~50kb and I still get the same error. I am wondering whether constructing the RooKeysPDF in this way is too memory intensive even with very small samples…

edit –
I managed to solve this issue using a different approach:

  • Create a TH1 from the RooDataSet
  • Apply smoothing
  • Create a RooDataHist from the TH1
  • Create a RooHistPdf which can be parameterised using the approach given here: Fit an offset for RooHistPdf

Thanks for all the help!
Cheers,
Emmy

– second edit since I am not allowed to reply any more:
I have opened a bug report, as suggested by Stephan: https://sft.its.cern.ch/jira/browse/ROOT-10233