One need to fit two peaks in separated parts of the spectrum with different background models.
I did it applying simultaneous fit (using rf501_simultaneouspdf.C as example). The only problem is that relative intensities of peaks are known but they are fitted as independent parameters by default.
Question: is it possible to constrain somehow fit model using this additional knowledge? As peak (pdf) amplitude is not free parameter and it is fundamental roofit method feature, it is not clear how to introduce this additional info in fit model.
E.g. ratio of two lines (signal) fitted simultaneously = 1/7. How to say it to roofit?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
One need to fit two peaks in separated parts of the spectrum with different background models.
I did it applying simultaneous fit (using rf501_simultaneouspdf.C as example). The only problem is that relative intensities of peaks are known but they are fitted as independent parameters by default.
Question: is it possible to constrain somehow fit model using this additional knowledge? As peak (pdf) amplitude is not free parameter and it is fundamental roofit method feature, it is not clear how to introduce this additional info in fit model.
E.g. ratio of two lines (signal) fitted simultaneously = 1/7. How to say it to roofit?
sorry to sent this message in wrong place, reposted to Help. One can delete it here!