GENIE-MC / Generator

The popular GENIE Generator product is used by nearly all accelerator neutrino experiments and it plays a key role in the exploitation of neutrino data. The Generator implements a modern software framework and it includes state-of-the-art physics modules. It captures the latest results of the GENIE global analysis of neutrino scattering data and includes several tunes that were produced using the proprietary Comparisons and Tuning products. The GENIE physics model is universal and comprehensive: It handles all neutrinos and targets, and all processes relevant from MeV to PeV energy scales. The Generator includes several tools (flux drivers, detector geometry navigators, specialized event generation apps, event reweighting engines) to simulate complex experimental setups in full detail and to support generator-related analysis tasks.
http://www.genie-mc.org
42 stars 92 forks source link

Fix edge issue in GMCJDriver #302

Closed idkakorin closed 1 year ago

idkakorin commented 1 year ago

Now, the maximum energy of the spline built inside the GMCJDriver is defined as the maximum of validity energy range for this generator. Sometimes there are cases when the splines are pre-calculated in a range whose maximum is lower than the maximum of the validity energy range. In such cases, the total cross section spline is incorrect at the highest energies and the generated events are skewed.