+// $Id$
+
/**************************************************************************
* This file is property of and copyright by the Experimental Nuclear *
* Physics Group, Dep. of Physics *
cout << "FourierAna::CheckSignal min = "<< tmpMin << " max = " << tmpMax << endl;
}
- if( (tmpMax >= MAX_BIN_VALUE) || tmpMin < 1 )
+ if( (tmpMax >= MAXBINVALUE) || tmpMin < 1 )
{
cout << "ERROR, FourierAna::CheckSignal failed, signal out of range, min= "<< tmpMin << "max = " << tmpMax << endl;
return false;
fFFTInputArray = new double[fFixedDataSize];
fFFTOutputArray = new double[fFixedDataSize];
- for(int gain = 0; gain < N_GAINS; gain ++)
+ for(int gain = 0; gain < NGAINS; gain ++)
{
fFFTOupuStruct.fDataLength = fFixedDataSize;
fFFTOutputArray[k] = 0;
}
- for(int i=0; i < ALTRO_MAX_SAMPLES ; i++)
+ for(int i=0; i < ALTROMAXSAMPLES ; i++)
{
fFFTOupuStruct.fGlobalAccumulatedPSD[gain][i] = 0;
fFFTOupuStruct.fGlobalLastPSD[gain][i] = 0;