#include <CNuclide.h>
Inheritance diagram for CNuclide:
Public Member Functions | |
CNuclide (int iZ, int iA) | |
CNuclide (int, int, string) | |
void | init (int, int) |
float | getExcessMass () |
const char * | getSymbol () |
string | getName () |
Public Attributes | |
int | iZ |
proton number | |
int | iN |
neutron number | |
int | iA |
mass number | |
float | fJ |
spin [hbar] | |
float | fExpMass |
mass excess [MeV] | |
float | fEx |
excitation energy [MeV] | |
Protected Attributes | |
string | strChemName |
gives isotopes and chemical name, e.g. 208Pb | |
string | strName |
identifation name | |
CMass * | mass |
mass excess class // mod-TU | |
Static Protected Attributes | |
static const char * | name [101] |
array containing name of all elements |
!
basic class CNuclide - stores the basic properties of the nucleus
CNuclide::CNuclide | ( | int | iZ0, | |
int | iA0 | |||
) |
Constructor specifies the isotope
iZ0 | is the proton number | |
iA0 | is the mass number |
CNuclide::CNuclide | ( | int | iZ0, | |
int | iA0, | |||
string | strName0 | |||
) |
alternative constructor
float CNuclide::getExcessMass | ( | ) |
Returns the excess mass of the nuclide
string CNuclide::getName | ( | ) |
Returns the chemical name of the isotope as a string
const char * CNuclide::getSymbol | ( | ) |
Returns the chemical name of the isotope as a character string
void CNuclide::init | ( | int | iZ0, | |
int | iA0 | |||
) |
Initializes the isotope
Can be used to change the isotope
iZ0 | is the proton number | |
iA0 | is the mass number |
const char * CNuclide::name [static, protected] |
Initial value:
{"n","H","He","Li","Be","B", "C","N","O","F","Ne", "Na","Mg","Al","Si","P","S","Cl","Ar","K","Ca", "Sc","Ti","V","Cr","Mn","Fe","Co","Ni","Cu","Zn", "Ga","Ge","As","Se","Br","Kr","Rb","Sr","Y","Zr", "Nb","Mo","Tc","Ru","Rh","Pd","Ag","Cd","In", "Sn","Sb","Te","I","Xe","Cs","Ba","La","Ce","Pr", "Nd","Pm","Sm","Eu","Gd","Tb","Dy","Ho","Er", "Tm","Yb","Lu","Hf","Ta","W","Re","Os","Ir", "Pt","Au","Hg","Tl","Pb","Bi","Po","At","Rn", "Fr","Ra","Ac","Th","Pa","U","Np","Pu","Am", "Cm","Bk","Cf","Es","Fm"}