-
Notifications
You must be signed in to change notification settings - Fork 173
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: rewrite measurement selector #3083
refactor: rewrite measurement selector #3083
Conversation
First changes from a quick look. Will do more later (that is why this is a draft for now) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3083 +/- ##
=======================================
Coverage 49.02% 49.02%
=======================================
Files 494 494
Lines 29058 29059 +1
Branches 13797 13797
=======================================
+ Hits 14246 14247 +1
Misses 4929 4929
Partials 9883 9883 ☔ View full report in Codecov by Sentry. |
📊: Physics performance monitoring for 7e63e63physmon summary
|
@andiwand of course @paulgessinger was correct about the map types, so I reverted the changes on passing by reference for those. I have applied additional changed to the function but I'm afraid this is not coming with an executing time improvement. I still think the new function is cleaner and easier to understand, so I'd like to push it anyway into ACTS |
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.
Good from my side 👍
I think @goetzgaycken optimized this code recently
…riteMeasurementSelector
The construction of the `MeasurementSelector` is IMO unintuitive right now and the default constructor will build a broken object which cannot select anything. I am trying to improve this here by using the default selections mechanism for the default constructor and adding a constructor which only takes a single set of cuts. blocked by - #3083
Changes to improve the measurement selector /cc @andiwand and @goetzgaycken
…3093) The construction of the `MeasurementSelector` is IMO unintuitive right now and the default constructor will build a broken object which cannot select anything. I am trying to improve this here by using the default selections mechanism for the default constructor and adding a constructor which only takes a single set of cuts. blocked by - acts-project#3083
Changes to improve the measurement selector /cc @andiwand and @goetzgaycken
…3093) The construction of the `MeasurementSelector` is IMO unintuitive right now and the default constructor will build a broken object which cannot select anything. I am trying to improve this here by using the default selections mechanism for the default constructor and adding a constructor which only takes a single set of cuts. blocked by - acts-project#3083
Changes to improve the measurement selector /cc @andiwand and @goetzgaycken
…3093) The construction of the `MeasurementSelector` is IMO unintuitive right now and the default constructor will build a broken object which cannot select anything. I am trying to improve this here by using the default selections mechanism for the default constructor and adding a constructor which only takes a single set of cuts. blocked by - acts-project#3083
Changes to improve the measurement selector
/cc @andiwand and @goetzgaycken