added Fourier difference view. Still some problems withswitching between diff and Fourier force and back

This commit is contained in:
nemu
2009-01-06 07:09:58 +00:00
parent 77fcf94b26
commit 4ef09b0dd2
2 changed files with 540 additions and 221 deletions

View File

@ -96,7 +96,11 @@ cout << endl << ">> fTimeResolution = " << fTimeResolution;
// check if zero padding is whished
if (fZeroPaddingPower > 0) {
fNoOfBins = static_cast<unsigned int>(pow(2.0, static_cast<double>(fZeroPaddingPower)));
unsigned int noOfBins = static_cast<unsigned int>(pow(2.0, static_cast<double>(fZeroPaddingPower)));
if (noOfBins > fNoOfData)
fNoOfBins = noOfBins;
else
fNoOfBins = fNoOfData;
} else {
fNoOfBins = fNoOfData;
}