Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: avoid unnecessary calculations in triplet compatibility #1929

Merged

Conversation

LuisFelipeCoelho
Copy link
Member

@LuisFelipeCoelho LuisFelipeCoelho commented Mar 9, 2023

This PR moves the calculation of iSinTheta2 * options.sigmapT2perRadius to outside the loop over the top triplet component to avoid recalculating this variable for every iteration.
It also avoids the calculation of the seed pT if not necessary.
This is not supposed to change the physics performance.

@LuisFelipeCoelho LuisFelipeCoelho added Component - Core Affects the Core module 🚧 WIP Work-in-progress labels Mar 9, 2023
@LuisFelipeCoelho LuisFelipeCoelho changed the title feat: avoid unnecessary calculations in triplet compatibility refactor: avoid unnecessary calculations in triplet compatibility Mar 9, 2023
@LuisFelipeCoelho LuisFelipeCoelho added this to the next milestone Mar 9, 2023
@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Merging #1929 (4221e6d) into main (49e2c9e) will increase coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head 4221e6d differs from pull request most recent head c11a65e. Consider uploading reports for the commit c11a65e to get more accurate results

@@           Coverage Diff           @@
##             main    #1929   +/-   ##
=======================================
  Coverage   49.59%   49.59%           
=======================================
  Files         410      410           
  Lines       22700    22697    -3     
  Branches    10359    10358    -1     
=======================================
  Hits        11257    11257           
+ Misses       4231     4228    -3     
  Partials     7212     7212           
Impacted Files Coverage Δ
Core/include/Acts/Seeding/SeedFinder.hpp 0.00% <ø> (ø)
Core/include/Acts/Seeding/SeedFinder.ipp 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Mar 9, 2023

📊 Physics performance monitoring for c11a65e

Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

@LuisFelipeCoelho LuisFelipeCoelho marked this pull request as ready for review March 14, 2023 16:18
@LuisFelipeCoelho LuisFelipeCoelho removed the 🚧 WIP Work-in-progress label Mar 14, 2023
Copy link
Collaborator

@CarloVarni CarloVarni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that these changes will only affect the strip detector (if we think only about ATLAS). Are these changes actually run by the CI?

Core/include/Acts/Seeding/SeedFinder.ipp Show resolved Hide resolved
Core/include/Acts/Seeding/SeedFinder.ipp Show resolved Hide resolved
@kodiakhq kodiakhq bot merged commit 447f0a2 into acts-project:main Mar 15, 2023
1 check passed
paulgessinger pushed a commit to paulgessinger/acts that referenced this pull request Mar 23, 2023
…ts-project#1929)

This PR moves the calculation of `iSinTheta2 * options.sigmapT2perRadius` to outside the loop over the top triplet component to avoid recalculating this variable for every iteration.
It also avoids the calculation of the seed pT if not necessary.
This is not supposed to change the physics performance.
@paulgessinger paulgessinger modified the milestones: next, v24.0.0 Mar 31, 2023
@LuisFelipeCoelho LuisFelipeCoelho deleted the triplet-cuts-optimization branch May 11, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants