TSpectrum and multiple bad fits

Hi,
Can anybody help with the following. I am trying to fit gaussian curves to a number of peaks in a spectra. They problem is, TSpectrum returns hundreds of peaks, and so when fitting the gaussian I have huge number fits.

I think this is best seen in the attached jpg file.

As you can see I have zoomed on one example peak in this spectra, but I should only have one broad gaussian fit rather that multiple fits to one peak.

Can anyone help,

I am using ROOT 5.11/02


Perhaps a better example of my problem…

YOu can see the peak I require to fit.


see example in tutorial peaks.C

Rene