Data calibration .. how?

Hello all,

signals from a detector have peaks that are proportional to the square of the particles charge, which means that if we can find the ratio between two peaks we can tell what type of particle does each refer to. in other words we could charge calibrate the data we have.
How do we do this process on a tree data using a root macro :confused:
I tried multifiting but I was confused and did not know how to find the bins ranges.

I will be very thankful if you could tell me how :blush:
Thank you so much

How about “Peak Finder, Deconvolutions” tutorials http://root.cern.ch/root/html/tutorials/spectrum/index.html and/or “How to Find Peaks in Histograms ?” http://root.cern.ch/drupal/content/how-find-peaks-histograms

Thanks I will definitely try those , hope it works
thank you again :slight_smile: