Skip to content
Snippets Groups Projects

Cleanup of tracking core.

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

Squashed version of !1900 (closed).

  • Cleaned up ca::TripletConstructor.
  • Removed global ca::TrackFit instance from ca::TripletConstructor.
  • Removed access to ca::InputData from ca::TripletConstructor (all needed data is already in ca::WindowData).
  • Switched from global to window-based hit index in ca::Branch. Allows simplification of many interfaces (removal of ca::InputData).
  • Cleaned up ca::TrackFinder.
  • In ca::TrackFinder, replaced separate vector instances which store upper and lower bounds of windows by single vectors that store these bounds together as a pair.
  • Cleaned up ca::TrackFinderWindow.

Merge request reports

Merge request pipeline #31012 passed

Merge request pipeline passed for 4994cf9c

Approval is optional

Closed by Dominik SmithDominik Smith 8 months ago (Sep 5, 2024 3:26pm UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Dear @d.smith, @fweig,

    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 added 13 commits

    added 13 commits

    Compare with previous version

  • 171 fDoubletData.second.clear();
    172 if (iMC < 0 && matchMc) {
    193 173 return;
    194 174 }
    175 CollectHits(fDoubletData.second, fit, fIstaM, frWData.CurrentIteration()->GetDoubletChi2Cut(), iMC,
    176 fParameters.GetMaxDoubletsPerSinglet());
    177 };
    178
    179 FindDoubletHits();
    180 FindDoublets(fit);
    181
    182 //D.Smith 28.8.24: Moving this upward (before doublet finding) changes QA output slightly
    183 if (fIstaR >= fParameters.GetNstationsActive()) {
    184 tripletsOut.clear();
    185 return;
    195 186 }
    • Comment on lines +182 to 186
      Author Maintainer

      @s.zharko @se.gorbunov I found the origin of the small difference in QA output reported yesterday. It was this conditional return statement. I tried to move it upward, before the computation of doublets, to save time, but this had a small effect on QA. Possibly, this happens because the doublet computation changes the contents of the window. Not sure whether this is intended, but I thought I would let you know.

    • Please register or sign in to reply
  • Dominik Smith added 10 commits

    added 10 commits

    Compare with previous version

  • Dominik Smith added 1 commit

    added 1 commit

    • 5ef6ddea - - Cleaned up ca::TripletConstructor.

    Compare with previous version

  • Author Maintainer

    @s.zharko @se.gorbunov Rebased to account for !1904 (merged). The necessary changes were applied. The QA output is now different from before, but matches the current master branch. The number of produced triplets is smaller, due to some added clear() statements (discussed in private conversations), but this does not affect the QA plots.

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

    mentioned in merge request !1910 (merged)

  • Dominik Smith added 9 commits

    added 9 commits

    Compare with previous version

  • Author Maintainer

    Superceded by !1910 (merged). Closing.

    Edited by Dominik Smith
  • Please register or sign in to reply
    Loading