-
Notifications
You must be signed in to change notification settings - Fork 177
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
GaussianGridTrackDensity Vertex Finder #90
GaussianGridTrackDensity Vertex Finder #90
Conversation
eb5fa91
to
4896f4c
Compare
Codecov Report
@@ Coverage Diff @@
## master #90 +/- ##
=======================================
Coverage 44.66% 44.66%
=======================================
Files 369 369
Lines 18454 18454
Branches 8782 8782
=======================================
Hits 8243 8243
Misses 4874 4874
Partials 5337 5337 Continue to review full report at Codecov.
|
4896f4c
to
f8d96c3
Compare
Removed WIP flag, should be ready from my side. |
883fff3
to
28d60f0
Compare
I've added functionality to estimate the seed width in z-direction based on the FWHM of the density peak. |
Hi @robertlangenberg, if I remember correctly, you volunteered to review this PR, right? I'm going to rebase it now and then it's ready to be reviewed from my side. |
…unit test for track removal
…Finder is of correct type
…inder and unit test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general it looks pretty clean, I'll approve once the few comments are addressed
8870055
to
3142348
Compare
All comments have been addressed @robertlangenberg |
* inital GaussianGridDensity commit * use only vector at z-axis instead of full grid, add tracks to the grid * add more tests for upper and lower boundary checks and remove printouts * add method to retrieve maximum density value * add GridDensityVertexFinder and unit test * remove unecessary cov matrices in unit test * add method to remove track density from grid * addTrack returns pair of zBin and trackGrid to allowing caching, add unit test for track removal * add second find method to allow caching of track density values in finder state * implement proper usage of track density removal if caching enabled in trackdensity grid finder * add unit test for testing cache track density removal * introduce vertex finder state for consistency reasons to all vertex finders and add unit test for GridDensitySeedFinder in AMVF * save deletedSeedTracks in vector and pass to seedFinder state if seedFinder is of correct type * bug fix, track density removal now working * adapt AMVF unit test to finder state change after rebase * use constraint vertex correctly in grid density finder and handle empty grid properly * add grid seed finder resolution and time to debug output * add track selection and option to use highest sum track density, add more docs * fix format * add unit test for AMVF with gaussian grid finder * adapt vertexing example algorithm to finder state changes * remove unwanted secondary vertices from Examples/VertexFitAlgorithm * add config constructor with custom grid density to GridDensityVertexFinder and unit test * add unit test for GaussianGridTrackDensity max sum density option * add seed width calculation to grid finder * fix format and and unit test for grid finder seed witdh calculation * remove test root input unit test * update docs * return 0 width for failed seed width estimation * remove commented out code * make vertexing fit transverse distance configurable * rename method to remove incompatible track in AMVF
Documentation about the actual algorithm will be added soon.