Dear Experts,
I am trying to create a weighted 2D dataset and then I want to separate the signal and the background components using the sPlot technique. I am referring to the example given at ROOT: tutorials/roofit/rf403_weightedevts.C Source File
Here’s the working directory wt_splot.zip (7.4 KB). The root file can be found at: b2_data_kk_iriomote_bcs.root - Google Drive.
I am able to separate the signal and the background components using only the sPlot technique but I am not able to weight the dataset before using the sPlot.
Would you please help me?
Regards,
Sanjeeda