-
Notifications
You must be signed in to change notification settings - Fork 35
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
generator.py does not take energy/flavor dependence into account when generating ccnc, inelasticities #600
Comments
Potentially relevant in this context (?) - #396 |
yes, this is still a todo for me to finally finish #396 ... the missing piece is to use the new BGR18 cross sections everywhere consistently |
Just as a gentle reminder, driven by the discussion started by https://arxiv.org/abs/2403.07984 - I think it's important to remember that until #396 gets merged, our inelasticities are off by somewhere between 10%, a factor of 2, or an order of magnitude, depending on the energy and how we define the comparison. This is not currently clearly documented (in my opinion), but should be kept in mind when running effective volume simulations. |
We already did extensive tests about the impact of using BGR18 dsigma/dy distributions vs. the current default for the cross section paper. (https://arxiv.org/abs/2204.04237) In that paper, we simulated the Veff as a function of shower energy for nu_e CC interactions and other interactions that only produce a hadronic shower. These Veff are then folded with the dsigma/dy distributions and the a flux to get event rates. We compared this to our standard procedure of simulating the Veff for fixed neutrino energies with the older cross sections (and fixed CC/NC fractions). The effect on event rates was less than 10%. |
Thanks, that's good to know - from the magnitude of the difference as shown in the above plots I definitely would have guessed that the difference, particularly at higher neutrino energies, would have been larger than that. Conversely, it probably means the impact of https://arxiv.org/abs/2403.07984 will be negligible in terms of effective volume. |
In
generator.py
, when 'randomly' deciding whether a CC or NC interaction takes place, the code uses theget_ccnc
function here. This corresponds to a constant ratio of CC : NC events, even though the ratio actually depends on the energy and the particle flavor. Weirdly, parameterizations for the cross section that do take this into account (as well as the slightly more significant dependence on neutrino vs antineutrino) are already available in the NuRadioMC.utilities.cross_sections module. While the effect is relatively small, it seems strange not to take it into account, especially if the appropriate code is already there?On a similar note, the neutrino inelasticity is also generated independently of the neutrino energy - I'm guessing for similar reasons.
The text was updated successfully, but these errors were encountered: