]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALRecoUtils.h
From Salvatore
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecoUtils.h
index 6c6ef7b59392b9746346140057d2207a1f18311c..8d896f567e0442aa2bc1f5b5ab55241df288c4b3 100644 (file)
@@ -108,12 +108,12 @@ public:
 
   Float_t  CorrectClusterEnergyLinearity(AliVCluster* clu) ;
   
-  Float_t  GetNonLinearityParam(const Int_t i)     const { if(i < 8  && i >=0 ){ return fNonLinearityParams[i] ; }
-                                                   else  { AliInfo(Form("Index %d larger than 7 or negative, do nothing\n",i)) ;
+  Float_t  GetNonLinearityParam(const Int_t i)     const { if(i < 7 && i >=0 ){ return fNonLinearityParams[i]  ; }
+                                                   else  { AliInfo(Form("Index %d larger than 6 or negative, do nothing\n",i)) ;
                                                                        return 0.                     ; } }
   void     SetNonLinearityParam(const Int_t i, const Float_t param) {
-                                                          if(i < 8 && i >=0 ){ fNonLinearityParams[i] = param ; }
-                                                          else { AliInfo(Form("Index %d larger than 7 or negative, do nothing\n",i)) ; } }
+                                                           if(i < 7 && i >=0 ){ fNonLinearityParams[i] = param ; }
+                                                           else { AliInfo(Form("Index %d larger than 6 or negative, do nothing\n",i)) ; } }
   void     InitNonLinearityParam();
 
   Int_t    GetNonLinearityFunction() const               { return fNonLinearityFunction    ; }