Regarding sPlots technique

Dear Experts,

especially splot experts!!

I am using the sPlot technque to ultimately plot dEdx vs P(momentum) distribution of proton using a sample oof Lambda->proton + pion.Now initially I see that if I just leave the distribution as it is, it is not that good. But If I apply a small cut on the proton momentum, I get a much cleaner distribution .

So I thought, to add this variable so that I don’t have to apply any cuts after the sweights are calculated (to have all the cuts in one place). Now, funnily enough I see a tiny contamination that wasnt there before.

My question is since we are calculating dEdx vs P , and also applying a cut on momentum (the x - axis), is it wise to apply the cut before the sWeights are calculated or after the sWeights. Would cutting it before the sWeights introduce some bias?

(Proton cut applied first and then sWeights)
|385px;x269px;

(sWeights first and then proton cut )
|422px;x288px;

Thanks !!

Dear @Vikas_Raj ,

Thanks for reaching out to the forum!

Interesting question! Maybe @jonas or @moneta can help you.

Cheers,
Vincenzo