I have a distribution that has a double-peaked structure. I am trying to fit this using a parabola exhibiting a minimum convolved with a Gaussian resolution function. Can I use RooFFTConvPdf to do this? Or is there a way to define the convolution function (which will be an integration function) in ROOT and do the fitting? Which would be the best approach? Any other pdfs that can describe the given shape is also welcome. I really appreciate any help you can provide.
You can use the
RooFFTConvPdf if your pdf you are convoluting is going to zero at the border of your range, otherwise you will have circular issues by usingFFT’s. Otherwise you can always use numerical convolution (class
RooNumConvPdf) based on computing the integral directly, which will be slower.
@jonas can help you in case you have any RooFit issues with this
Thank you so much for the reply. So in this case, since I am trying to convolve a parabola that does not go to zero at the border, is the best option RooNumConvPdf?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.