acts icon indicating copy to clipboard operation
acts copied to clipboard

feat: Add ability to store particle status and do it for Geant4

Open ntadej opened this issue 10 months ago • 2 comments

Another quality of life improvement for the simulation chain. There is currently no way to know the status of a particle. I implemented it for G4 based on why a particle is killed - I'm open for suggestions if enum values could be improved.

Note that this touches the particle definition in the ACTS Fatras API, but it just adds a member variable and does not remove anything so it's not a breaking change.

ntadej avatar Mar 28 '24 09:03 ntadej

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 48.99%. Comparing base (3203649) to head (5e109fa). Report is 28 commits behind head on main.

:exclamation: Current head 5e109fa differs from pull request most recent head 27c37d9. Consider uploading reports for the commit 27c37d9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3068      +/-   ##
==========================================
- Coverage   49.09%   48.99%   -0.11%     
==========================================
  Files         497      490       -7     
  Lines       29155    28996     -159     
  Branches    13851    13743     -108     
==========================================
- Hits        14314    14206     -108     
- Misses       4908     4951      +43     
+ Partials     9933     9839      -94     

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

codecov[bot] avatar Mar 28 '24 10:03 codecov[bot]

@ntadej could you update the references?

  • physmon output can be found here https://github.com/acts-project/acts/actions/runs/8703154667/artifacts/1417672409
    • you can overwrite the changed files in CI/physmon/reference
  • new hashes at the bottom here https://github.com/acts-project/acts/actions/runs/8703154667/job/23869530759?pr=3068
    • you can update the changed hashes manually or with CI/merge_hashes.py. the reference is in Examples/Python/tests/root_file_hashes.txt

andiwand avatar Apr 17 '24 08:04 andiwand

Hmm, I think we hit some irreproducibility, probably because all values for Fatras are 0 and then compression messes-up something. I updated the hash twice now and it's different each time.

ntadej avatar Apr 19 '24 11:04 ntadej

@andiwand, this is finally green! 🎉 Thanks for bearing with me.

ntadej avatar Apr 19 '24 15:04 ntadej

:white_check_mark: Athena integration test results [301ba29efab4650b8e657d11a2286e342edd4de9]

: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 19 '24 20:04 acts-project-service