SetNHits, in order to make the IO work in memhandler class.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jan 2002 08:58:07 +0000 (08:58 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jan 2002 08:58:07 +0000 (08:58 +0000)
HLT/hough/AliL3HoughTrack.cxx

index 91e8e5d3670aaa15c6312cdcba9c4614e1aa16df..8746654041a85278f1da1bf042c8393a84bd7ae2 100644 (file)
@@ -55,6 +55,7 @@ void AliL3HoughTrack::Set(AliL3Track *track)
   SetCharge(tpt->GetCharge());
   SetRowRange(tpt->GetFirstRow(),tpt->GetLastRow());
   SetSlice(tpt->GetSlice());
+  SetNHits(1);
   return;
 
   fWeight = tpt->GetWeight();
@@ -191,8 +192,10 @@ void AliL3HoughTrack::SetTrackParameters(Double_t kappa,Double_t phi,Int_t weigh
   Double_t yc = GetFirstPointY() - GetRadius() * sin(trackPhi0) ;
   SetCenterX(xc);
   SetCenterY(yc);
+  SetNHits(1); //just for the trackarray IO
   fIsHelix = true;
   
+  
 }
 
 void AliL3HoughTrack::SetLineParameters(Double_t psi,Double_t D,Int_t weight,Int_t *rowrange,Int_t ref_row)