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

feat!: changed Grid interface of neighborHoodIndices #1052

Conversation

robertlangenberg
Copy link
Contributor

@robertlangenberg robertlangenberg commented Oct 26, 2021

Changed Grid interface of neighborHoodIndices with differing lower and upper neighbors. This now allows to specify the number of neighbors desired per axis, as opposed to having one number of neighbors for all axes. It also inverts the way neighbors are interpreted:

BREAKING CHANGE: The Grid interface changes: f you want 1 neighbor on the left and two on the right, you now have to write {-1,2} instead of {1,2} as before. This is necessary as this also allows to give "negative" neighbors, i.e. not starting from the current bin, but e.g. only 2 bins left of the current bin: {-2,-1}.

@robertlangenberg robertlangenberg added the 🚧 WIP Work-in-progress label Oct 26, 2021
@robertlangenberg robertlangenberg added this to the next milestone Oct 26, 2021
@paulgessinger paulgessinger changed the title feat: ! changed Grid interface of neighborHoodIndices feat!: changed Grid interface of neighborHoodIndices Oct 27, 2021
@robertlangenberg robertlangenberg removed the 🚧 WIP Work-in-progress label Oct 27, 2021
@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #1052 (22f3e45) into main (8ce4d31) will decrease coverage by 0.00%.
The diff coverage is 75.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1052      +/-   ##
==========================================
- Coverage   48.57%   48.57%   -0.01%     
==========================================
  Files         338      338              
  Lines       17343    17369      +26     
  Branches     8200     8216      +16     
==========================================
+ Hits         8425     8437      +12     
+ Misses       3180     3179       -1     
- Partials     5738     5753      +15     
Impacted Files Coverage Δ
Core/include/Acts/Utilities/detail/grid_helper.hpp 80.53% <47.36%> (-3.13%) ⬇️
Core/include/Acts/Utilities/detail/Axis.hpp 89.40% <92.85%> (-2.33%) ⬇️
Core/include/Acts/Utilities/detail/Grid.hpp 67.64% <100.00%> (+0.98%) ⬆️

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 8ce4d31...22f3e45. Read the comment docs.

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. If the tests pass, let's merge it.

@paulgessinger paulgessinger enabled auto-merge (squash) November 2, 2021 09:50
@paulgessinger paulgessinger merged commit 70669b9 into acts-project:main Nov 2, 2021
@paulgessinger paulgessinger modified the milestones: next, v15.0.0 Nov 17, 2021
kodiakhq bot pushed a commit that referenced this pull request Mar 18, 2022
This PR adds the `ITkSeedingExample.cpp` to run the ITk seeding.
It shows how to configure the non-equidistant binning in z (#1005), the seed confirmation cuts (#1084), the radial range for middle SP cut (#1084) and the vector containing the map of z neighbours (#1052 and #1038).

It contains all the parameters to run the seeding for ITk **pixel** space points (I intend to extend this to ITk strip SPs soon).

@noemina @paulgessinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants