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?
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”.