Create a weighted 2D dataset and use sPlot technique

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

Hi @sanjeeda,

thank you for your question, maybe @Jonas could give you a hint?

Cheers,
Marta

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