Suggestion on how to remove background in invariant mass distributions

Dear All,

Can anyone guide me on how to remove the background from the signal+bkg histogram. If I had done a total fit on signal+bkg then how can I get the distribution of bkg subtracted signal histogram. Apart from event mixing and other techniques, is there a way to remove background from fitting?

Regards,
Shankar Nair

TH1::Add

Are you suggesting to subtract the background function? But how can you subtract background function with the original signal+bkg histogram. That’s what I am having trouble understanding.

Create a TF1 with the “bkg” only (extracting parameter values from your “total fit”), then subtract this function from your “original signal+bkg histogram”.

Thank you I got it now, it was my mistake in understanding that I cannot subtract directly a function with a histogram.

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