]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecEmcManager.cxx
fix separator
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecEmcManager.cxx
index 9f6965153ceb88474239e570f19d1745f8482bd1..7ed77ad908115742b7a36af238b51bd787ec8947 100644 (file)
@@ -13,6 +13,7 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
 
 //_________________________________________________________________________
 // Class for the management by the Emc reconstruction.
@@ -21,6 +22,8 @@
 //
 // --- ROOT system ---
 
+#include <TMath.h>
+
 // --- Standard library ---
 
 // --- AliRoot header files ---
@@ -61,12 +64,11 @@ Float_t AliPHOSRecEmcManager::Dispersion(Float_t ei) const
   return ei;
 }
 
-Float_t AliPHOSRecEmcManager::OneGamChi2(Float_t ai, Float_t ei, Float_t fi, Float_t& gi) const
+Float_t AliPHOSRecEmcManager::OneGamChi2(Float_t ai, Float_t ei, Float_t, Float_t& gi) const
 {
   // Chi2 used in OneGam (one-gamma fitting).
   // gi is d(Chi2)/d(ai).
 
-  fi = 0 ; 
   Float_t da = ai - ei;
   Float_t d = ei; // we assume that sigma(E) = sqrt(E)
   gi = 2.*(ai-ei)/d;
@@ -75,10 +77,9 @@ Float_t AliPHOSRecEmcManager::OneGamChi2(Float_t ai, Float_t ei, Float_t fi, Flo
 
 }
 
-Float_t AliPHOSRecEmcManager::TwoGamChi2(Float_t ai, Float_t ei, Float_t fi, Float_t& gi) const
+Float_t AliPHOSRecEmcManager::TwoGamChi2(Float_t ai, Float_t ei, Float_t, Float_t& gi) const
 {
   // calculates chi^2
-  fi = 0 ; 
   Float_t da = ai - ei;
   Float_t d = ei; // we assume that sigma(E) = sqrt(E)
   gi = 2.*(ai-ei)/d;