Skip to content
Snippets Groups Projects

Draft: Cleanup of ca::TrackFinder.

Closed Dominik Smith requested to merge d.smith/cbmroot:TrackingCleanup3 into master
1 unresolved thread

Builds upon !1887 (merged) and should be considered only after it is merged.

Here the class ca::TrackFinder is streamlined some more. This version is shorter and even ever so slightly faster apparently.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
536 int caHitId = wData.RecoHitIndex(trackFirstHit + ih);
537 CaHitTimeInfo& info = fHitTimeInfo[caHitId];
538 if (info.fEventTimeMax < windowStart) { // this hit is before the overlap
539 isTrackCompletelyInOverlap = false;
540 break;
541 }
542 }
543 515
544 if (!areUntouchedDataLeft) { // don't reject tracks in the overlap when no more data are left
545 isTrackCompletelyInOverlap = 0;
546 }
516 const bool isTrackCompletelyInOverlap =
517 std::all_of(trackFirstHit, trackFirstHit + track.fNofHits, [&](int caHitId) {
518 CaHitTimeInfo& info = fHitTimeInfo[caHitId];
519 return info.fEventTimeMax >= windowStart;
520 });
  • Dear @d.smith, @fweig, @se.gorbunov, @s.zharko,

    you have been identified as code owner of at least one file which was changed with this merge request.

    Please check the changes and approve them or request changes.

  • Dominik Smith mentioned in merge request !1887 (merged)

    mentioned in merge request !1887 (merged)

  • Author Maintainer

    Absorbed into !1887 (merged). Closing.

  • Please register or sign in to reply
    Loading