Correct me, if I’m wrong.
- It seems to me that the TSpectrum class can only work on TH1F histograms (so it cannot work on TH1D).
- It seems to me that the only peaks’ shape that is allowed is a “gauss”.
Well, then I think I have two questions.
First, just a rhetoric question … would it be easy to extend TSpectrum so that it works on TH1D, too?
Then, a serious question … what would I need to do to convince TSpectrum to use my own (“user defined”) peaks’ shape (e.g. in form of a TF1 function, or a C++ function)?