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: rename local variables and improve comments for IVF #2485

Merged
merged 13 commits into from
Sep 29, 2023

Conversation

felix-russo
Copy link
Contributor

@felix-russo felix-russo commented Sep 27, 2023

  • Rename some variables
  • Improve some comments
  • One little change: Previously hypotVariance was set to 1 if it was 0, which seems like a random quick fix. I think it is more correct to skip the track in this case because the expression in line 408 would diverge and the if-condition should evaluate to false.
    image

@github-actions github-actions bot added Component - Core Affects the Core module Vertexing labels Sep 27, 2023
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Merging #2485 (02f4999) into main (753dbec) will decrease coverage by 0.03%.
Report is 1 commits behind head on main.
The diff coverage is 25.14%.

@@            Coverage Diff             @@
##             main    #2485      +/-   ##
==========================================
- Coverage   49.85%   49.82%   -0.03%     
==========================================
  Files         466      466              
  Lines       26248    26246       -2     
  Branches    12032    12050      +18     
==========================================
- Hits        13085    13077       -8     
+ Misses       4615     4603      -12     
- Partials     8548     8566      +18     
Files Coverage Δ
...re/include/Acts/Vertexing/ImpactPointEstimator.hpp 100.00% <ø> (ø)
...e/include/Acts/Vertexing/IterativeVertexFinder.hpp 80.00% <ø> (ø)
...clude/Acts/Vertexing/AdaptiveMultiVertexFitter.ipp 43.87% <0.00%> (ø)
Core/include/Acts/Vertexing/ZScanVertexFinder.ipp 45.09% <75.00%> (-1.06%) ⬇️
...clude/Acts/Vertexing/AdaptiveMultiVertexFinder.ipp 41.29% <50.00%> (ø)
...e/include/Acts/Vertexing/IterativeVertexFinder.ipp 25.48% <11.66%> (-0.09%) ⬇️
...re/include/Acts/Vertexing/ImpactPointEstimator.ipp 37.11% <30.61%> (-3.08%) ⬇️

... and 1 file with indirect coverage changes

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

@felix-russo felix-russo marked this pull request as ready for review September 28, 2023 07:47
@paulgessinger paulgessinger added this to the next milestone Sep 29, 2023
Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

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

Looks good to me. We should keep an eye out to see if this changes Athena outputs.

@kodiakhq kodiakhq bot merged commit 4a4f858 into acts-project:main Sep 29, 2023
@acts-project-service
Copy link
Collaborator

🔴 Athena integration test results

Build job with this PR failed!

Please investigate the build job for the pipeline!

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Sep 29, 2023
AJPfleger pushed a commit to AJPfleger/acts that referenced this pull request Sep 29, 2023
…roject#2485)

- Rename some variables 
- Improve some comments
- One little change: Previously `hypotVariance` was set to 1 if it was 0, which seems like a random quick fix. I think it is more correct to skip the track in this case because the expression in line 408 would diverge and the if-condition should evaluate to `false`.
![image](https://github.com/acts-project/acts/assets/72298366/2a582bad-88bc-447e-9c8a-35d91670c235)
kodiakhq bot pushed a commit that referenced this pull request Oct 2, 2023
I renamed maximumChi2CutForSeeding in #2485, which broke the Athena build. Here, I change the variable name back to the original one as discussed in the stand-up meeting.
@felix-russo felix-russo deleted the IVF-with-time branch October 3, 2023 11:37
@paulgessinger paulgessinger modified the milestones: next, v30.1.0 Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants