Skip to content

Commit

Permalink
Fix for bug #48080: the same modifications as in GetLocalXat are intr…
Browse files Browse the repository at this point in the history
…oduced in GetLocalZat
  • Loading branch information
hristov committed May 17, 2009
1 parent ff49016 commit 72c0292
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ITS/AliITStrackV2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,10 @@ GetPhiZat(Double_t r, Double_t &phi, Double_t &z) const {
// The track curvature is neglected.
//------------------------------------------------------------------
Double_t d=GetD(0.,0.);
if (TMath::Abs(d) > r) return kFALSE;
if (TMath::Abs(d) > r) {
if (r>1e-1) return kFALSE;
r = TMath::Abs(d);
}

Double_t rcurr=TMath::Sqrt(GetX()*GetX() + GetY()*GetY());
if (TMath::Abs(d) > rcurr) return kFALSE;
Expand Down

0 comments on commit 72c0292

Please sign in to comment.