MARLEY (Model of Argon Reaction Low Energy Yields)
v1.2.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Monte Carlo implementation of the Hauser-Feshbach statistical model for decays of highly-excited nuclei. More...
#include <HauserFeshbachDecay.hh>
Public Member Functions | |
HauserFeshbachDecay (const marley::Particle &compound_nucleus, double Exi, int twoJi, marley::Parity Pi, marley::StructureDatabase &sdb) | |
bool | do_decay (double &Exf, int &twoJf, marley::Parity &Pf, marley::Particle &emitted_particle, marley::Particle &residual_nucleus, marley::Generator &gen) |
Simulates a decay of the compound nucleus. More... | |
std::vector< std::unique_ptr< marley::ExitChannel > > & | exit_channels () |
Get a non-const reference to the owned vector of ExitChannel pointers. | |
const std::vector< std::unique_ptr< marley::ExitChannel > > & | exit_channels () const |
Get a const reference to the owned vector of ExitChannel pointers. | |
void | print (std::ostream &out) const |
Print information about the possible decay channels to a std::ostream. | |
const std::unique_ptr< marley::ExitChannel > & | sample_exit_channel (marley::Generator &gen) const |
Helper function for do_decay(). Samples an ExitChannel using the partial decay widths as weights. | |
Monte Carlo implementation of the Hauser-Feshbach statistical model for decays of highly-excited nuclei.
marley::HauserFeshbachDecay::HauserFeshbachDecay | ( | const marley::Particle & | compound_nucleus, |
double | Exi, | ||
int | twoJi, | ||
marley::Parity | Pi, | ||
marley::StructureDatabase & | sdb | ||
) |
compound_nucleus | Particle object that represents the excited nucleus |
Exi | Initial excitation energy (MeV) |
twoJi | Two times the initial nuclear spin |
Pi | Initial nuclear parity |
sdb | Reference to the StructureDatabase to use in calculations |
bool marley::HauserFeshbachDecay::do_decay | ( | double & | Exf, |
int & | twoJf, | ||
marley::Parity & | Pf, | ||
marley::Particle & | emitted_particle, | ||
marley::Particle & | residual_nucleus, | ||
marley::Generator & | gen | ||
) |
Simulates a decay of the compound nucleus.
[out] | Exf | Final nuclear excitation energy (MeV) |
[out] | twoJf | Two times the final nuclear spin |
[out] | Pf | Final nuclear parity |
[out] | emitted_particle | Particle object representing the nuclear fragment or γ-ray emitted during the decay |
[out] | residual_nucleus | Particle object representing the final-state nucleus param gen Generator to use for random sampling |