X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCtracker.cxx;h=5ab1fd4924b14133891e077c2abab0fcbafd65b4;hb=fa991e42a816c5c8ed1f42d307ef3dc41f608279;hp=19959169a0169d1072fc7034a173ccf413274963;hpb=aad72f45c9c3fa068d01f3542578bc05ca9ee907;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCtracker.cxx b/TPC/AliTPCtracker.cxx index 19959169a01..5ab1fd4924b 100644 --- a/TPC/AliTPCtracker.cxx +++ b/TPC/AliTPCtracker.cxx @@ -232,7 +232,7 @@ Int_t AliTPCtracker::FollowProlongation(AliTPCseed& t, Int_t rf) { UInt_t index=0; Double_t maxchi2=kMaxCHI2; const AliTPCRow &krow=fSectors[s][nr]; - Double_t pt=1./t.Get1Pt(); + Double_t pt=t.GetSignedPt(); Double_t sy2=AliTPCcluster::SigmaY2(t.GetX(),t.GetTgl(),pt); Double_t sz2=AliTPCcluster::SigmaZ2(t.GetX(),t.GetTgl()); Double_t road=4.*sqrt(t.GetSigmaY2() + sy2), y=t.GetY(), z=t.GetZ(); @@ -370,7 +370,7 @@ Int_t AliTPCtracker::FollowBackProlongation AliTPCcluster *cl=0; Int_t index=0; Double_t maxchi2=kMaxCHI2; - Double_t pt=1./seed.Get1Pt(); + Double_t pt=seed.GetSignedPt(); Double_t sy2=AliTPCcluster::SigmaY2(seed.GetX(),seed.GetTgl(),pt); Double_t sz2=AliTPCcluster::SigmaZ2(seed.GetX(),seed.GetTgl()); Double_t road=4.*sqrt(seed.GetSigmaY2() + sy2), z=seed.GetZ(); @@ -401,8 +401,8 @@ Int_t AliTPCtracker::FollowBackProlongation const AliTPCRow &krow=fSectors[s][i]; if (accepted>27) if (krow) { - for (Int_t i=krow.Find(y-road); iGetY() > y+road) break; if (c->IsUsed()) continue; if ((c->GetZ()-z)*(c->GetZ()-z)>16.*(seed.GetSigmaZ2()+sz2)) continue; @@ -410,7 +410,7 @@ Int_t AliTPCtracker::FollowBackProlongation if (chi2 > maxchi2) continue; maxchi2=chi2; cl=c; - index=krow.GetIndex(i); + index=krow.GetIndex(icl); } } }