1 #ifndef ALITPCMONITORFFT_H
2 #define ALITPCMONITORFFT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 ////////////////////////////////////////////////////////////////////////
12 //// AliTPCMonitorFFT class
14 //// Wrapper class to perform Fast Fourier Transformations
15 //// Code based on Gnu Scientific Library
16 //// See documentation of gsl for further details
18 //// Author: Stefan Kniege, IKF, Frankfurt
21 /////////////////////////////////////////////////////////////////////////
28 #define REAL(a,stride,i) ((a)[2*(stride)*(i)])
29 #define IMAG(a,stride,i) ((a)[2*(stride)*(i)+1])
32 class AliTPCMonitorFFT : public TNamed {
38 Int_t ComplexRadix2ForwardWrap( Double_t* data, Int_t stride, size_t n );
39 Int_t ComplexRadix2BackwardWrap( Double_t* data, Int_t stride, size_t n );
40 Int_t ComplexRadix2InverseWrap( Double_t* data, Int_t stride, size_t n );
41 Int_t ComplexRadix2TransformWrap(Double_t* data, Int_t stride, size_t n, Int_t sign );
42 Int_t ComplexBitReverseOrderWrap(Double_t* data, Int_t stride, size_t n, Int_t logn) const ;
43 Int_t FFTBinaryLogn(size_t n) const ;
47 ClassDef(AliTPCMonitorFFT,1);