acts icon indicating copy to clipboard operation
acts copied to clipboard

refactor: rewrite measurement selector

Open CarloVarni opened this issue 10 months ago • 4 comments

Changes to improve the measurement selector

/cc @andiwand and @goetzgaycken

CarloVarni avatar Apr 05 '24 16:04 CarloVarni

First changes from a quick look. Will do more later (that is why this is a draft for now)

CarloVarni avatar Apr 05 '24 16:04 CarloVarni

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 49.02%. Comparing base (1374baa) to head (f67393d). Report is 5 commits behind head on main.

:exclamation: Current head f67393d differs from pull request most recent head 7e63e63. Consider uploading reports for the commit 7e63e63 to get more accurate results

Files Patch % Lines
Core/src/TrackFinding/MeasurementSelector.cpp 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3083   +/-   ##
=======================================
  Coverage   49.02%   49.02%           
=======================================
  Files         494      494           
  Lines       29058    29059    +1     
  Branches    13797    13797           
=======================================
+ Hits        14246    14247    +1     
  Misses       4929     4929           
  Partials     9883     9883           

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

codecov[bot] avatar Apr 05 '24 17:04 codecov[bot]

@andiwand of course @paulgessinger was correct about the map types, so I reverted the changes on passing by reference for those.

I have applied additional changed to the function but I'm afraid this is not coming with an executing time improvement. I still think the new function is cleaner and easier to understand, so I'd like to push it anyway into ACTS

CarloVarni avatar Apr 09 '24 12:04 CarloVarni

:white_check_mark: Athena integration test results [3203649b5e036cf5fd7a9fd0909d6a48c03f45a1]

:white_check_mark: All tests successful

status job report
:green_circle: run_unit_tests
:green_circle: test_ActsEFTrackFit
:green_circle: test_ActsPersistifySeeds
:green_circle: test_ActsBenchmarkWithSpot
:green_circle: test_ActsAnalogueClustering
:green_circle: test_ActsConversionWorkflow
:green_circle: test_ActsWorkflowFastTracking
: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 Apr 10 '24 00:04 acts-project-service