CNuclide Class Reference

info on each nucleus More...

#include <CNuclide.h>

Inheritance diagram for CNuclide:

CLightP CNucleus List of all members.

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
CMassmass
 mass excess class // mod-TU

Static Protected Attributes

static const char * name [101]
 array containing name of all elements

Detailed Description

info on each nucleus

!

basic class CNuclide - stores the basic properties of the nucleus


Constructor & Destructor Documentation

CNuclide::CNuclide ( int  iZ0,
int  iA0 
)

Constructor specifies the isotope

Parameters:
iZ0 is the proton number
iA0 is the mass number

CNuclide::CNuclide ( int  iZ0,
int  iA0,
string  strName0 
)

alternative constructor


Member Function Documentation

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

Parameters:
iZ0 is the proton number
iA0 is the mass number


Member Data Documentation

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"}
array containing name of all elements


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 14:13:09 2012 by  doxygen 1.4.7