|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Replace Ed here with database of local fits taken from RIPL-3 or TALYS
Reconsider method used for handling spin cut-off parameter calculation for U <= Ed.
Add more error checks to DiscreteNuclearReaction::create_event() as necessary
Revisit the equipartition assumption made here in favor of something better motivated.
Add error handling for parsing problems
This can be done more cleanly via iss = std::istringstream( line ); However, GCC 4 does not include the move constructor for string streams. This was fixed for GCC 5. Change this line after MARLEY drops support for GCC < 5. See https://stackoverflow.com/a/27152585 and https://stackoverflow.com/q/7623650 for more details.
Consider implementing a sorting procedure rather than strictly enforcing that energies must be given in ascending order.