Please read tips for efficient and successful posting and posting code
_ROOT Version:6.24/06
Platform: Ubuntu 20.4
Compiler: Not Provided
Hi,
I want to run an FFT analysis on a TH1D I have. The documentation I found (ROOT: tutorials/fft/FFT.C File Reference), was not helpful and I still do not manage to understand and have it running.
What I want, is to have the frequencies and corresponding amplitudes of and spectra stored in the above mention TH1D.
Could somebody write a small example?
What I have in mind is a function that receives as input a TH1D, and the output is the set of frequencies and amplitudes.
Thanks in advance.