]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSFourier.cxx
removing the HLT autoconf build system, however keep on using that for the
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSFourier.cxx
index f8ac06171ccabd5cd7db300d084ba07f7b3cf6a9..9977b92d050429f08d36ab04a6ee5f31048ad1e6 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+
 /**************************************************************************
  * This file is property of and copyright by the Experimental Nuclear     *
  * Physics Group, Dep. of Physics                                         *
@@ -128,7 +130,7 @@ AliHLTPHOSFourier::CheckSignal(const Int_t *data, const int length)
       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;
@@ -148,7 +150,7 @@ AliHLTPHOSFourier::Init()
   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;
  
@@ -158,7 +160,7 @@ AliHLTPHOSFourier::Init()
          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;