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: Context in bin adjustment and trapezoid surface bin adjustment #966

Merged

Conversation

Corentin-Allaire
Copy link
Contributor

@Corentin-Allaire Corentin-Allaire commented Aug 30, 2021

The bin adjustment for surface used the default constructor of the geometry context to get the surface transform. This doesn't work for all context so it now uses the geometry context as an input.

This also add bin adjustment for trapezoid bound (and the relevant test).

@Corentin-Allaire Corentin-Allaire added this to the next milestone Aug 30, 2021
@Corentin-Allaire Corentin-Allaire added Component - Core Affects the Core module Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature labels Aug 30, 2021
@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #966 (6ec069e) into main (863364a) will increase coverage by 0.02%.
The diff coverage is 58.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #966      +/-   ##
==========================================
+ Coverage   48.46%   48.48%   +0.02%     
==========================================
  Files         334      334              
  Lines       17067    17091      +24     
  Branches     8074     8081       +7     
==========================================
+ Hits         8271     8287      +16     
- Misses       3094     3099       +5     
- Partials     5702     5705       +3     
Impacted Files Coverage Δ
Core/src/Material/SurfaceMaterialMapper.cpp 10.41% <0.00%> (ø)
Core/include/Acts/Utilities/BinAdjustment.hpp 59.09% <60.71%> (+2.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 863364a...6ec069e. Read the comment docs.

@Corentin-Allaire Corentin-Allaire changed the title refactor: Context in bin adjustment refactor: Context in bin adjustment and trapezoid surface bin adjustment Aug 30, 2021
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.

👍

@paulgessinger paulgessinger merged commit 8236d1f into acts-project:main Aug 30, 2021
@paulgessinger paulgessinger modified the milestones: next, v12.0.1 Aug 30, 2021
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 Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants