Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Public Member Functions | Static Public Member Functions | List of all members
genbb::fermi_function Class Reference

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

Detailed Description

Fermi function for beta+/- decays.

Member Enumeration Documentation

◆ decay_type

Decay type.

Enumerator
DT_INVALID 
DT_BETA_MINUS 
DT_BETA_PLUS 

◆ mode_type

Approximation mode for the calculation of the Fermi function.

Enumerator
MODE_NON_RELATIVISTIC 

Use the non relativistic approximation.

MODE_SPHERICALLY_SYMMETRIC 

USe the "spherically symmetric" approximation.

MODE_SHAPE_ONLY 

Use only the unnormalized shape of the Fermi function.

Constructor & Destructor Documentation

◆ fermi_function() [1/2]

genbb::fermi_function::fermi_function ( )

Default constructor.

◆ fermi_function() [2/2]

genbb::fermi_function::fermi_function ( int  z_,
int  a_,
decay_type  beta_type_,
unsigned int  mode_,
double  ke_cut_ = -1.0 
)

Constructor.

Member Function Documentation

◆ eval_non_relativistic_approx()

static double genbb::fermi_function::eval_non_relativistic_approx ( int  z_daughter_,
decay_type  type_,
double  ke_cut_,
bool  shape_only_,
double  ke_ 
)
static

Non relativistic approximation.

◆ eval_spherically_symmetric_approx()

static double genbb::fermi_function::eval_spherically_symmetric_approx ( int  z_daughter_,
int  a_daughter_,
decay_type  type_,
double  ke_cut_,
bool  shape_only_,
double  ke_ 
)
static

Spherically symmetric wavefunctions approximation.

◆ is_beta_minus()

bool genbb::fermi_function::is_beta_minus ( ) const

Check beta minus decay type.

◆ is_beta_plus()

bool genbb::fermi_function::is_beta_plus ( ) const

Check beta plus decay type.

◆ is_valid()

bool genbb::fermi_function::is_valid ( ) const

Check validity.

◆ operator()()

double genbb::fermi_function::operator() ( double  ke_) const

Evaluation.

◆ reset()

void genbb::fermi_function::reset ( )

Reset the function parameters.

◆ set()

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.


The documentation for this class was generated from the following file: