I need to subtract the background blue in color from my spectrum (Black) and need to plot the energy calibrated histograms for each run. Then need to calculate the area under the peak of interest(which is between channel 550 and 600).
Also, how to take into account drifting from run to run?
Can someone help me in writing the automated code for this? There are over 200 root files.