How to get sigma results with TSpectrum

Hi, I’m using TSpecrum . I have a problem and I couldn’t find the answer in the documentation.
How can I get the sigmas of the finding peaks?

Thanks in advance

Hello,

TSpectrum will help you in finding the position of the peaks You would need then to fit the peaks, for example with a gaussian function, to find their sigma.
See for example the tutorial spectrum/peaks.C

root.cern.ch/root/html534/tutor … aks.C.html

Best Regards

Lorenzo