]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRecPoint.cxx
patch for GCC < 4.3
[u/mrichter/AliRoot.git] / STEER / AliRecPoint.cxx
index 5b6963618d5131b76a234a3413cb34780dc5665f..7ab6b8a999f779d9f7e5426417466fea2a52d94b 100644 (file)
@@ -63,7 +63,7 @@ AliRecPoint::AliRecPoint(const char * ):
   fGeom(0),
   fIndexInList(-1), // to be set when the point is already stored
   fLocPos(0,0,0),
-  fLocPosM(new TMatrix(3,3)),
+  fLocPosM(new TMatrixF(3,3)),
   fMaxDigit(100),
   fMulDigit(0),
   fMaxTrack(5),
@@ -123,7 +123,7 @@ void AliRecPoint::AddDigit(AliDigitNew & digit)
     for ( index = 0 ; index < fMulDigit ; index++ )
       tempo[index] = fDigitsList[index] ; 
     
-    delete fDigitsList ; 
+    delete [] fDigitsList ; 
     fDigitsList = tempo ; 
   }
   
@@ -164,7 +164,7 @@ void AliRecPoint::Copy(TObject& recp) const
     (dynamic_cast<AliRecPoint&>(recp)).fGeom = fGeom;
     (dynamic_cast<AliRecPoint&>(recp)).fIndexInList = fIndexInList;
     (dynamic_cast<AliRecPoint&>(recp)).fLocPos = fLocPos;
-    (dynamic_cast<AliRecPoint&>(recp)).fLocPosM = new TMatrix(*fLocPosM);
+    (dynamic_cast<AliRecPoint&>(recp)).fLocPosM = new TMatrixF(*fLocPosM);
     (dynamic_cast<AliRecPoint&>(recp)).fMaxDigit = fMaxDigit;
     (dynamic_cast<AliRecPoint&>(recp)).fMulDigit = fMulDigit;
     (dynamic_cast<AliRecPoint&>(recp)).fMaxTrack = fMaxTrack;
@@ -179,7 +179,7 @@ void AliRecPoint::Copy(TObject& recp) const
 }
 
 //_______________________________________________________________________
-void AliRecPoint::GetCovarianceMatrix(TMatrix & mat) const
+void AliRecPoint::GetCovarianceMatrix(TMatrixF & mat) const
 {
   // returns the covariant matrix for the local position
   
@@ -198,7 +198,7 @@ void AliRecPoint::GetLocalPosition(TVector3 & pos) const
 }
 
 //____________________________________________________________________________
-void AliRecPoint::GetGlobalPosition(TVector3 & gpos, TMatrix & gmat) const
+void AliRecPoint::GetGlobalPosition(TVector3 & gpos, TMatrixF & gmat) const
 {
   // returns the position of the cluster in the global reference system of ALICE
   // and the uncertainty on this position