6 : fSize (transformSize)
15 fIn = fftw_malloc(
sizeof(
double)*
fSize);
19 rIn = fftw_malloc(
sizeof(fftw_complex)*fFreqSize);
20 rOut= fftw_malloc(
sizeof(
double)*fSize);
24 fKern.resize(fFreqSize);
33 fftw_free((fftw_complex*)
fOut);
37 fftw_free((fftw_complex*)
rIn);
48 double factor = -2.0*std::acos(-1)*shift/(double)
fSize;
51 input[i] *= std::exp(std::complex<double>(0,factor*(
double)i));
std::vector< std::complex< double >> ComplexVector
LArFFTW(int transformSize, const void *fplan, const void *rplan, int fitbins)
std::vector< float > fConvHist
void ShiftData(ComplexVector &input, double shift)