Skip to content

Commit e15da10

Browse files
authored
Merge pull request #31 from alibuild/alibot-cleanup-17883
Please consider the following formatting changes to #17883
2 parents 7caef03 + 1f6b6c6 commit e15da10

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ALICE3/Core/FastTracker.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int FastTracker::fastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
374374
ok = inputTrack.correctForMaterial(layers[il].getRadiationLength(), 0, applyAngularCorrection);
375375
}
376376
if (ok && mApplyElossCorrection && layers[il].getDensity() > 0) { // correct in small steps
377-
for (int ise = xrhosteps; ise > 0; --ise) {
377+
for (int ise = xrhosteps; ise > 0; --ise) {
378378
ok = inputTrack.correctForMaterial(0, -layers[il].getDensity() / xrhosteps, applyAngularCorrection);
379379
if (!ok) {
380380
break;
@@ -467,9 +467,9 @@ int FastTracker::fastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
467467

468468
// towards adding cluster: move to track alpha
469469
float alpha = inwardTrack.getAlpha();
470-
std::array<float, 3> xyz1 = { std::cos(alpha) * spacePoint[0] + std::sin(alpha) * spacePoint[1],
471-
-std::sin(alpha) * spacePoint[0] + std::cos(alpha) * spacePoint[1],
472-
spacePoint[2]};
470+
std::array<float, 3> xyz1 = {std::cos(alpha) * spacePoint[0] + std::sin(alpha) * spacePoint[1],
471+
-std::sin(alpha) * spacePoint[0] + std::cos(alpha) * spacePoint[1],
472+
spacePoint[2]};
473473

474474
if (!inwardTrack.propagateTo(xyz1[0], magneticField)) {
475475
continue;
@@ -492,7 +492,7 @@ int FastTracker::fastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
492492
}
493493
}
494494
if (mApplyElossCorrection && layers[il].getDensity() > 0) {
495-
for (int ise = xrhosteps; ise > 0; --ise) { // correct in small steps
495+
for (int ise = xrhosteps; ise > 0; --ise) { // correct in small steps
496496
if (!inputTrack.correctForMaterial(0, layers[il].getDensity() / xrhosteps, applyAngularCorrection)) {
497497
return -7;
498498
}
@@ -646,6 +646,6 @@ int FastTracker::fastTrack(o2::track::TrackParCov inputTrack, o2::track::TrackPa
646646
}
647647
// +-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+-~-<*>-~-+
648648

649-
} //namespace o2::fastsim
649+
} // namespace o2::fastsim
650650

651651
ClassImp(o2::fastsim::FastTracker);

0 commit comments

Comments
 (0)