-
Notifications
You must be signed in to change notification settings - Fork 21
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
Patching to ECAL lin-reg tracking #1407
Conversation
How are you defining best? If you are cutting out singular matrices, could there be some lin-reg tracks "found" that were just "found" due to numerical instability of a singular matrix? I could see this effect being very distinct in the signal case where the ECal as a whole is fairly quiet. |
Yes but we have more tracks now in signal! (blue is new red is old, right?) |
ah yes, you're right - that is suspicious. |
1de8fe3
to
63bb707
Compare
1fef2d9
to
e6c6935
Compare
I'll make a reminder issue about this after we merged this |
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.
Looks good to me, I just have a cleanup 🧹 and a technical question 🤔
Yea, KS testing is somewhat weighted by the bin content and so the fact that 0 lin-reg tracks are very close for a vast majority of events means that the KS test value will be above our arbitrary threshold. (In a perfect world, we would do a full comparison of the events with something like root-diff and then make histograms if any change cropped up there. The limiting thing in this case is storing the golden event files or implementing the complex workflow to re-generate them everytime.) Edit: The N Lin-Reg Tracks distribution is also closer in the PR validation sample. Not sure why this is but could be from using different samples. |
Ahh no sorry, I think I introduced a mistake in the last push regarding the initialization of the r2 |
False alarm |
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
This resolves #1405
Several approaches were tried, in the end I'm cleaning up the input to the matrix to be decomposed, and making sure that the determinant is non-zero.
While digging into this I denote many potential improvements in the code.
Check List