Skip to content

Commit

Permalink
Switching to a linear formula in the case of straight tracks.
Browse files Browse the repository at this point in the history
Cherry-picked from 03bec31
  • Loading branch information
iouribelikov authored and dberzano committed Jun 7, 2016
1 parent b5efba5 commit 03815fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions STEER/STEERBase/AliExternalTrackParam.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,9 @@ static void Evaluate(const Double_t *h, Double_t t,
if (TMath::Abs(h[4])>kAlmost0) {
r[0] += (sn - h[6])/h[4];
r[1] -= (cs - h[7])/h[4];
} else {
r[0] += t*cs;
r[1] -= -t*sn;
}
r[2] = h[1] + h[3]*t;

Expand Down

0 comments on commit 03815fb

Please sign in to comment.