6 : fSize(transformSize), fPlan(fplan), rPlan(rplan), fFitBins(fitbins)
12 fIn = fftw_malloc(
sizeof(
double) *
fSize);
16 rIn = fftw_malloc(
sizeof(fftw_complex) * fFreqSize);
17 rOut = fftw_malloc(
sizeof(
double) * fSize);
21 fKern.resize(fFreqSize);
30 fftw_free((fftw_complex*)
fOut);
34 fftw_free((fftw_complex*)
rIn);
45 double factor = -2.0 * std::acos(-1) * shift / (double)
fSize;
48 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)