@Wile_E_Coyote@couet fithisto.C (3.6 KB) eu_gu_1.txt (44.1 KB)
The above code gives final spectrum which subtract background from raw data.
I am unable to understand how can i extract any data that was subtracted from raw data.
Is there any possible way of doing the above and how does the area gets affected?
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
You can make a clone of your histogram and apply the “background estimation” to that clone. Then you can subtract that clone (which will then be the “background”) from your original (unmodified) histogram.
@Wile_E_Coyote@couet
Thanks for your suggestion. I have tried something still unable to get result that i was expecting.
Can you please help me. fithisto.C (3.8 KB) hist.C (905 Bytes) eu_gu_1.txt (44.1 KB)
@couet@Wile_E_Coyote
I have already remove the background in “fithisto.C” file using “TSpectrum:Background”. But I want to extract background data and in order to get that i was subtracting the data in which background was already subtracted from the raw data.
After subtraction I should be able to get the background but the above graph doesn’t implies background.
That’s the question.