Skip to content

Commit 59dab73

Browse files
committed
UUU
1 parent 9f7b929 commit 59dab73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ALICE3/Core/FastTracker.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ float FastTracker::ProbGoodChiSqHit(float radius, float searchRadiusRPhi, float
286286
// returns number of intercepts (generic for now)
287287
int FastTracker::FastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackParCov& outputTrack, const float nch)
288288
{
289+
dNdEtaCent = nch; // set the number of charged particles per unit rapidity
289290
hits.clear();
290291
nIntercepts = 0;
291292
nSiliconPoints = 0;
@@ -427,8 +428,8 @@ int FastTracker::FastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
427428
// towards adding cluster: move to track alpha
428429
float alpha = inwardTrack.getAlpha();
429430
float xyz1[3]{
430-
TMath::Cos(alpha) * spacePoint[0] + TMath::Sin(alpha) * spacePoint[1],
431-
-TMath::Sin(alpha) * spacePoint[0] + TMath::Cos(alpha) * spacePoint[1],
431+
std::cos(alpha) * spacePoint[0] + std::sin(alpha) * spacePoint[1],
432+
-std::sin(alpha) * spacePoint[0] + std::cos(alpha) * spacePoint[1],
432433
spacePoint[2]};
433434
if (!inwardTrack.propagateTo(xyz1[0], magneticField))
434435
continue;

0 commit comments

Comments
 (0)