Skip to content
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

Open
sjoerd-bouma opened this issue Dec 5, 2023 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@sjoerd-bouma
Copy link
Collaborator

sjoerd-bouma commented Dec 5, 2023

In generator.py, when 'randomly' deciding whether a CC or NC interaction takes place, the code uses the get_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.
image

@sjoerd-bouma sjoerd-bouma added the question Further information is requested label Dec 5, 2023
@sjoerd-bouma
Copy link
Collaborator Author

Potentially relevant in this context (?) - #396

@cg-laser
Copy link
Collaborator

cg-laser commented Dec 7, 2023

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

@sjoerd-bouma sjoerd-bouma added the enhancement New feature or request label Jan 9, 2024
@sjoerd-bouma
Copy link
Collaborator Author

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.
image

@cg-laser
Copy link
Collaborator

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%.
I should #396 but I already know that the impact will not be large.

@sjoerd-bouma
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants