-
Notifications
You must be signed in to change notification settings - Fork 29
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
Mott scattering #66
Mott scattering #66
Conversation
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.
Thanks for the PR and for providing documentation with the code! I have some comments that need to be addressed before merging.
Is there any update on this PR @juniorpena ? |
Hi,
No updates as of now. Other projects came to the forefront, and I still have not gone back to update this code. I will probably not get back to this until sometime closer to the summer.
Best,
Junior
From: J B ***@***.***>
Reply-To: KATRIN-Experiment/Kassiopeia ***@***.***>
Date: Monday, January 9, 2023 at 3:29 AM
To: KATRIN-Experiment/Kassiopeia ***@***.***>
Cc: Junior Ivan Pena ***@***.***>, Mention ***@***.***>
Subject: Re: [KATRIN-Experiment/Kassiopeia] Mott scattering (PR #66)
Is there any update on this PR @juniorpena<https://github.com/juniorpena> ?
—
Reply to this email directly, view it on GitHub<#66 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARHKF652ECFCVFXCX6NP3TDWRPD6FANCNFSM57JDPJXQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello, I've eliminated the use of ROOT in this scattering calculator. Now the GetTheta function uses inverse transform sampling and rejection sampling. I've also updated it to allow for both He and Ne Mott Scattering |
Hey, thank you very much! Could you add documentation of the added objects to https://github.com/KATRIN-Experiment/Kassiopeia/blob/main/Kassiopeia/XML/Complete/Interactions.xml ? That is helpful both for users and for the review. (Related, but independent issue: #106 ) |
I've added the documentation |
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.
After looking through the code, I had three remaining comments after which this looks good to merge!
Btw. if there will be a thesis describing a use case of this, one can also advertise it in the top comment of KSIntCalculatorMott.h
, since it is always useful to see what the original use case for components of Kassiopeia was.
Kassiopeia/Bindings/Interactions/Include/KSIntCalculatorMottBuilder.h
Outdated
Show resolved
Hide resolved
…ilder.h Co-authored-by: 2xB <31772910+2xB@users.noreply.github.com>
I've added code and comments for the choice of size of theta_arr responding to previous comment. I've also added comments wherever there are hard coded values, for where those values come from
Our Ubuntu 20.04 CI check failed with
, as can be seen by clicking on the check details... |
Btw. additionally to fixing the above error, I believe that it would make sense to update your branch by merging our main branch into it, that would fix the fedora_37 test case. |
Merged main branch, and fixed bug causing Ubuntu 20.04 CI check failure
Found a bug after running simulations, the momentum of the final state particle was being changed twice when executing the interaction
@juniorpena What is the status here? I have added one question to resolve one of the two open threads here, the other I think is not that important but I leave it open just in case you want to comment on it as well. I think once at least the thread regarding the provided isotopes is solved, we should finally be able to merge this from my side. (CC @richeldichel ) |
I've replied to the isotopes thread. Thank you for the review! |
Co-authored-by: 2xB <31772910+2xB@users.noreply.github.com>
Independent on the last nit-picky comments from my side, this looks good to merge! @richeldichel |
Since all of the remaining conversations are resolved, I will merge this now. Thanks @juniorpena for your work and @2xB for the careful review! |
This change is implementing Mott scattering of high energy electrons off of Helium nuclei. I uploaded the files from my Kassiopeia setup on my local machine into a repo I forked, and I made changes to the appropriate CMakeLists.txt files.