//#include "AliHLTCaloRcuFFTDataStruct.h"
+#include "AliHLTCaloConstants.h"
+
ClassImp(AliHLTCaloFourier);
+
+
AliHLTCaloFourier::AliHLTCaloFourier() : fFFT_own(0),
fFFTInputArray(0),
fFFTOutputArray(0),
}
+
+
AliHLTCaloFourier::AliHLTCaloFourier(const AliHLTCaloFourier&) : fFFT_own(0),
fFFTInputArray(0),
fFFTOutputArray(0),
}
+
AliHLTCaloFourier::~AliHLTCaloFourier()
{
cout << "FourierAna::CheckSignal min = "<< tmpMin << " max = " << tmpMax << endl;
}
- if( (tmpMax >= MAXBINVALUE) || tmpMin < 1 )
+ if( (tmpMax >= AliHLTCaloConstants::GetMAXBINVALUE() ) || 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 < NGAINS; gain ++)
+ for(int gain = 0; gain < AliHLTCaloConstants::GetNGAINS(); gain ++)
{
fFFTOupuStruct.fDataLength = fFixedDataSize;
fFFTOutputArray[k] = 0;
}
- for(int i=0; i < ALTROMAXSAMPLES ; i++)
+ for(int i=0; i < AliHLTCaloConstants::GetALTROMAXSAMPLES() ; i++)
{
fFFTOupuStruct.fGlobalAccumulatedPSD[gain][i] = 0;
fFFTOupuStruct.fGlobalLastPSD[gain][i] = 0;