Unused variables removed.
authorpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 17:24:29 +0000 (17:24 +0000)
committerpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 17:24:29 +0000 (17:24 +0000)
PHOS/AliPHOSEmcRecPoint.cxx
PHOS/AliPHOSEsdCluster.cxx
PHOS/AliPHOSGeometry.cxx
PHOS/AliPHOSRecPoint.cxx
PHOS/AliPHOSRecoParam.cxx

index 36c20bd..63604ad 100644 (file)
@@ -355,7 +355,7 @@ void AliPHOSEmcRecPoint::ExecuteEvent(Int_t event, Int_t, Int_t) /*const*/
 }
 
 //____________________________________________________________________________
-void  AliPHOSEmcRecPoint::EvalDispersion(Float_t logWeight,TClonesArray * digits, TVector3 &vInc)
+void  AliPHOSEmcRecPoint::EvalDispersion(Float_t logWeight,TClonesArray * digits, TVector3 & /* vInc */)
 {
   // Calculates the dispersion of the shower at the origine of the RecPoint
   //DP: should we correct dispersion for non-perpendicular hit????????
@@ -491,7 +491,7 @@ void AliPHOSEmcRecPoint::EvalCoreEnergy(Float_t logWeight, TClonesArray * digits
 }
 
 //____________________________________________________________________________
-void  AliPHOSEmcRecPoint::EvalElipsAxis(Float_t logWeight,TClonesArray * digits, TVector3 &vInc)
+void  AliPHOSEmcRecPoint::EvalElipsAxis(Float_t logWeight,TClonesArray * digits, TVector3 & /* vInc */)
 {
   // Calculates the axis of the shower ellipsoid
 
@@ -570,7 +570,7 @@ void  AliPHOSEmcRecPoint::EvalElipsAxis(Float_t logWeight,TClonesArray * digits,
 }
 
 //____________________________________________________________________________
-void  AliPHOSEmcRecPoint::EvalMoments(Float_t logWeight,TClonesArray * digits, TVector3 &vInc)
+void  AliPHOSEmcRecPoint::EvalMoments(Float_t logWeight,TClonesArray * digits, TVector3 & /* vInc */)
 {
   // Calculate the shower moments in the eigen reference system
   // M2x, M2z, M3x, M4z
index 626b48f..3a7d87c 100644 (file)
@@ -79,7 +79,7 @@ void AliPHOSEsdCluster::Recalibrate(AliPHOSCalibData * calibData,AliESDCaloCells
        break ;
     }
     if(pos<phsCells->GetNumberOfCells()){
-      Double_t energy = phsCells->GetAmplitude(pos) ;
+//       Double_t energy = phsCells->GetAmplitude(pos) ;
       fCellsAmpFraction[i]*=calibData->GetADCchannelEmc (module,column,row);
     }
     else{
index 113b957..6f45738 100644 (file)
@@ -54,6 +54,8 @@ AliPHOSGeometry::AliPHOSGeometry() :
                    fAngle(0.f),
                    fPHOSAngle(0),
                    fIPtoUpperCPVsurface(0),
+                   fCrystalShift(0),
+                   fCryCellShift(0),
                    fRotMatrixArray(0),
                    fGeometryEMCA(0),
                    fGeometryCPV(0),
@@ -71,6 +73,8 @@ AliPHOSGeometry::AliPHOSGeometry(const AliPHOSGeometry & rhs)
                      fAngle(rhs.fAngle),
                      fPHOSAngle(0),
                      fIPtoUpperCPVsurface(rhs.fIPtoUpperCPVsurface),
+                     fCrystalShift(rhs.fCrystalShift),
+                     fCryCellShift(rhs.fCryCellShift),
                      fRotMatrixArray(0),
                      fGeometryEMCA(0),
                      fGeometryCPV(0),
@@ -86,6 +90,8 @@ AliPHOSGeometry::AliPHOSGeometry(const Text_t* name, const Text_t* title)
                    fAngle(0.f),
                    fPHOSAngle(0),
                    fIPtoUpperCPVsurface(0),
+                   fCrystalShift(0),
+                   fCryCellShift(0),
                    fRotMatrixArray(0),
                    fGeometryEMCA(0),
                    fGeometryCPV(0),
@@ -275,7 +281,7 @@ Bool_t AliPHOSGeometry::AbsToRelNumbering(Int_t absId, Int_t * relid) const
   return rv ; 
 }
 //____________________________________________________________________________
-void AliPHOSGeometry::GetGlobal(const AliRecPoint* recPoint, TVector3 & gpos) const
+void AliPHOSGeometry::GetGlobal(const AliRecPoint* , TVector3 & ) const
 {
   AliFatal(Form("Please use GetGlobalPHOS(recPoint,gpos) instead of GetGlobal!"));
 }
index a6010a3..ddd2e14 100644 (file)
@@ -225,7 +225,7 @@ break;
   }
 }
 //____________________________________________________________________________
-void AliPHOSRecPoint::EvalAll(TClonesArray * digits) 
+void AliPHOSRecPoint::EvalAll(TClonesArray * /* digits */) 
 {
   //evaluates (if necessary) all RecPoint data members 
 
index c257f79..7eb2408 100644 (file)
@@ -41,7 +41,7 @@ AliPHOSRecoParam::AliPHOSRecoParam() :
 }
 
 //-----------------------------------------------------------------------------
-AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& recoParam):
+AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& ):
   TNamed(),
   fClusteringThreshold(9999),
   fLocMaxCut(9999),