SPlot but for binned data?

Dear Experts,
I want to extract background subtracted signal using sPlot technique for a binned dataset (RooDataHist). However, RooStats::SPlot only takes in unbinned dataset as an argument ie., RooDataSet.

Is there a way I can use this for binned dataset?


I think this is inherent to the nature of the sPlot technique, which is a reweighing technique.
Can’t you start from the original event loop and create a RooDataSet?
Adding in the loop @jonas .


Yes, it’s just that unbinned dataset takes a lot of time to run. Especially considering that I am adding multiple files. So I wanted to see if the sPlot can be done “somehow” on a binned one.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.