From: vestbo Date: Tue, 22 Jan 2002 08:58:07 +0000 (+0000) Subject: SetNHits, in order to make the IO work in memhandler class. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=242c143e332313aaf0109bcdd0e7fe416ebc5122 SetNHits, in order to make the IO work in memhandler class. --- diff --git a/HLT/hough/AliL3HoughTrack.cxx b/HLT/hough/AliL3HoughTrack.cxx index 91e8e5d3670..8746654041a 100644 --- a/HLT/hough/AliL3HoughTrack.cxx +++ b/HLT/hough/AliL3HoughTrack.cxx @@ -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)