Correlation using FFT

Hi all,

I need to perform a correlation using Fourier Transform. The correlation for two functions g and h is:
F[Corr(g,h)] = [F(g)]* . F(h)

the asterisk denotes the complex conjugate. My doubt is about how to calculate the complex conjugate for the first transformation and after that, how multiply them.

I have 2 TH2D histograms representing g and h.

Thanks in advance,


Hi Manuel,

I do not think we have a helper class to accomplish this out of the box in ROOT yet.