I just spotted the TSpectrum class ( root.cern.ch/doc/master/classTSpectrum.html , didn’t know it up to now). Looks fine but I’m not quite sure if I can use it for my purposes since the background in all its examples is obviously very different from the signals.
In my case I have only two peaks: One noise (the left) and one signal peak and mostly in between they are overlaid (also besides).
So my question is: Does it make sense to use this class for my case ? Otherwise I would try to find a fit which concerns the noise peak (the signal peak follows a landau distribution but I need something else because the noise peak moves the landau fit).
Thank you very much in advance!