acts icon indicating copy to clipboard operation
acts copied to clipboard

refactor: Backport navigation rewrite changes

Open andiwand opened this issue 2 years ago • 5 comments

Backporting more changes from https://github.com/acts-project/acts/pull/2625 to main. This is a followup to #2768

Summary

  • remove overstepping from steppers
  • use surface tolerance for geometry lookups
  • add self consistency navigation test

andiwand avatar Dec 20 '23 10:12 andiwand

Codecov Report

Attention: Patch coverage is 40.65934% with 54 lines in your changes missing coverage. Please review.

Project coverage is 47.42%. Comparing base (24f3582) to head (8b80a34). Report is 251 commits behind head on main.

Files Patch % Lines
Core/src/Geometry/TrackingVolume.cpp 34.69% 1 Missing and 31 partials :warning:
Core/include/Acts/Propagator/Navigator.hpp 31.81% 0 Missing and 15 partials :warning:
Core/src/Geometry/Layer.cpp 53.33% 0 Missing and 7 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2846      +/-   ##
==========================================
- Coverage   47.51%   47.42%   -0.09%     
==========================================
  Files         499      499              
  Lines       28292    28278      -14     
  Branches    13832    13831       -1     
==========================================
- Hits        13442    13410      -32     
- Misses       4970     4989      +19     
+ Partials     9880     9879       -1     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Dec 20 '23 11:12 codecov[bot]

measured performance - no significant/measurable change

andiwand avatar Mar 15 '24 13:03 andiwand

error logs need to be addressed

andiwand avatar Mar 18 '24 07:03 andiwand

Took a quick look into a failing propagation and it looks like these are tracks which start to loop in the solenoid. Before my change these were filtered based on the far limit.

Using the far limit to discard intersections seems more like a hack to me. A proper solution would be to stop the propagation after the long strips IMO. But I am not sure how we can achieve this easily.

Alternatively I can also backport the far limit which should give us the current results.

andiwand avatar Mar 18 '24 13:03 andiwand

After reintroducing the farLimit based on the aborter step size the physmon diff is calmed down and it looks like there are some minor efficiency improvements hinting that this fixed the navigation a bit.

What is left to do for me is to check if this has any performance implications.

andiwand avatar May 24 '24 11:05 andiwand

performance looks mostly identical

image

image

andiwand avatar May 24 '24 12:05 andiwand

:white_check_mark: Athena integration test results [57fd232791810cbb1bb5a58f57c73e73c7a4a4e3]

:white_check_mark: All tests successful

status job report
:green_circle: run_unit_tests
:green_circle: test_ActsCheckObjectCountsWorkflow
:green_circle: test_ActsEFTrackFit
:green_circle: test_ActsPersistifySeeds
:green_circle: test_ActsBenchmarkWithSpot
:green_circle: test_ActsAnalogueClustering
:green_circle: test_ActsWorkflowHeavyIons
:green_circle: test_ActsWorkflowFastTracking
:green_circle: test_ActsWorkflowCached
:green_circle: test_ActsWorkflow
:green_circle: test_ActsValidateAmbiguityResolution
:green_circle: test_ActsValidateResolvedTracks
:green_circle: test_ActsValidateTracks
:green_circle: test_ActsValidateActsCoreSpacePoints
:green_circle: test_ActsValidateActsSpacePoints
:green_circle: test_ActsValidateSeeds
:green_circle: test_ActsValidateOrthogonalSeeds
:green_circle: test_ActsValidateClusters
:green_circle: test_ActsPersistifyEDM
:green_circle: test_ActsGSFRefitting
:green_circle: test_ActsKfRefitting
:green_circle: test_ActsExtrapolationAlgTest
:green_circle: test_ActsITkTest
:green_circle: run_workflow_tests_run4_mc
:green_circle: run_workflow_tests_run2_mc
:green_circle: run_workflow_tests_run2_data
:green_circle: run_workflow_tests_run3_mc
:green_circle: run_workflow_tests_run3_data
:green_circle: run_art_test: test_data18_13TeV_1000evt
:green_circle: run_art_test: test_ttbarPU40_reco

acts-project-service avatar May 24 '24 22:05 acts-project-service