Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Fermi function for beta+/- decays. More...
#include <bayeux/genbb_help/fermi_function.h>
Public Types | |
enum | mode_type { MODE_NON_RELATIVISTIC = 0x1, MODE_SPHERICALLY_SYMMETRIC = 0x2, MODE_SHAPE_ONLY = 0x10 } |
Approximation mode for the calculation of the Fermi function. More... | |
enum | decay_type { DT_INVALID = 0, DT_BETA_MINUS = 1, DT_BETA_PLUS = 2 } |
Decay type. More... | |
Public Member Functions | |
bool | is_valid () const |
Check validity. More... | |
bool | is_beta_plus () const |
Check beta plus decay type. More... | |
bool | is_beta_minus () const |
Check beta minus decay type. More... | |
fermi_function () | |
Default constructor. More... | |
fermi_function (int z_, int a_, decay_type beta_type_, unsigned int mode_, double ke_cut_=-1.0) | |
Constructor. More... | |
void | set (int z_, int a_, decay_type beta_type_, unsigned int mode_, double ke_cut_=-1.0) |
Set the function parameters. More... | |
void | reset () |
Reset the function parameters. More... | |
double | operator() (double ke_) const |
Evaluation. More... | |
Static Public Member Functions | |
static double | eval_non_relativistic_approx (int z_daughter_, decay_type type_, double ke_cut_, bool shape_only_, double ke_) |
Non relativistic approximation. More... | |
static double | eval_spherically_symmetric_approx (int z_daughter_, int a_daughter_, decay_type type_, double ke_cut_, bool shape_only_, double ke_) |
Spherically symmetric wavefunctions approximation. More... | |
Fermi function for beta+/- decays.
genbb::fermi_function::fermi_function | ( | ) |
Default constructor.
genbb::fermi_function::fermi_function | ( | int | z_, |
int | a_, | ||
decay_type | beta_type_, | ||
unsigned int | mode_, | ||
double | ke_cut_ = -1.0 |
||
) |
Constructor.
|
static |
Non relativistic approximation.
|
static |
Spherically symmetric wavefunctions approximation.
bool genbb::fermi_function::is_beta_minus | ( | ) | const |
Check beta minus decay type.
bool genbb::fermi_function::is_beta_plus | ( | ) | const |
Check beta plus decay type.
bool genbb::fermi_function::is_valid | ( | ) | const |
Check validity.
double genbb::fermi_function::operator() | ( | double | ke_ | ) | const |
Evaluation.
void genbb::fermi_function::reset | ( | ) |
Reset the function parameters.
void genbb::fermi_function::set | ( | int | z_, |
int | a_, | ||
decay_type | beta_type_, | ||
unsigned int | mode_, | ||
double | ke_cut_ = -1.0 |
||
) |
Set the function parameters.