]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCTrackHits.cxx
Additional protection (M.Masera)
[u/mrichter/AliRoot.git] / TPC / AliTPCTrackHits.cxx
index 5cecda87b242d64432b58061c68c1ada9b6b771f..82a94ddce5a7ddb92d8347439ab3c0b9307c218c 100644 (file)
  **************************************************************************/
 
 /*
-$Log
+$Log$
+Revision 1.3  2000/11/02 10:22:50  kowal2
+Logs added
+
 */
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
@@ -279,7 +282,7 @@ AliTPCTrackHits::AliTPCTrackHits()
   fTempInfo =0;
   fTrackHitsInfo = new AliObjectArray("AliTrackHitsInfo"); 
   fTrackHitsParam = new AliObjectArray("AliTrackHitsParam");
-  fHitsPosAndQ = new TArrayOfArray_vStack("AliHitInfo");
+  fHitsPosAndQ = new TArrayOfArrayVStack("AliHitInfo");
   fCurrentHit = new AliTPCCurrentHit;
   fgCounter1++;
   fgCounter2++;
@@ -303,11 +306,10 @@ void AliTPCTrackHits::Clear()
 {
   //
   //clear object 
-  //  fTrackHitsInfo->Clear();
-  //fTrackHitsParam->Clear();
-  
-  fTrackHitsInfo->Resize(0);
-  fTrackHitsParam->Resize(0);
+  fTrackHitsInfo->Clear();
+  fTrackHitsParam->Clear();  
+  //fTrackHitsInfo->Resize(0);
+  //fTrackHitsParam->Resize(0);
   fHitsPosAndQ->Clear();
 
   if (fTempInfo){