-
Notifications
You must be signed in to change notification settings - Fork 168
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
fix: Unit test hough transform and fix identifier bug #3332
Conversation
📊: Physics performance monitoring for 9d755aaphysmon summary
|
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.
Hi,
thanks a lot @dimitra97 @janheinri !
I added a few comments from my end, including a proposal for how we can avoid the ActsExamples
dependency.
Cheers, Max
Hello Max, ok I if we want to discard ActsExamples dependency I will follow the comments and make the changes! |
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.
I like it!
Tests/UnitTests/Examples/Algorithms/HoughTransform/HoughTransformTest.cpp
Outdated
Show resolved
Hide resolved
Examples/Framework/include/ActsExamples/EventData/MuonSimHit.hpp
Outdated
Show resolved
Hide resolved
Tests/UnitTests/Examples/Algorithms/HoughTransform/HoughTransformTest.cpp
Outdated
Show resolved
Hide resolved
Tests/UnitTests/Examples/Algorithms/HoughTransform/HoughTransformTest.cpp
Outdated
Show resolved
Hide resolved
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.
I don't think I have anything valuable to add which wasn't mentioned already
Invalidated by push of 3e8cd4e
Examples/Framework/include/ActsExamples/EventData/MuonSimHit.hpp
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
This PR introduces a Unit Test for the Hough transform by taking hardcoded the data for the
MuonSimHit
and theDriftCircles
(since we just want to test theTransformUtils
and not the readers). We check one station and we pick also the corresponding sim hit for this station from the csv files.Also it fixes a bug with the bit shift operation in the
MuonSimHit.hpp
because we observed a problem (with @janheinri during the tracking workshop) when the stationEta was negative so we cast it tounsigned int
Tagging people that may be interested: @goblirsc @junggjo9 @janheinri (if you also want to review :) )