Description of a nucleus. More...
#include <XePhys.h>
Public Member Functions | |
double | ErtoQ (double Er) |
double | ErtoY (double Er) |
int | getA () |
double | getJ () |
double | getMass () |
int | getN () |
double | getOscillatorSizeSQ () |
Nucleus (int n, int a=0) | |
bool | printIt (int level=1) |
Virtual method to print the object. | |
double | QtoEr (double Q) |
double | QtoY (double Q) |
Static Public Member Functions | |
static int | aFromHashCode (int hash) |
static int | hashCode (int n, int a) |
static bool | isValid (int n, int a, bool quiet=false) |
static int | nFromHashCode (int hash) |
static string | nucleusName (int n, int a) |
static double | oscillatorParameterSQ (int A) |
static string | spinName (double J) |
Protected Attributes | |
int | A |
STATIC_CONST double | B0 = 41.467 |
STATIC_CONST double | B1 = 45.000 |
STATIC_CONST double | B2 = 25.000 |
double | J |
double | mass |
int | N |
double | oscillatorSizeSQ |
Description of a nucleus.
Defined by N and A. Also characterized by mass and spin
Nucleus::Nucleus | ( | int | n, | |
int | a = 0 | |||
) |
n | Atomic number, currently NEUTRON, PROTON, or XENON | |
a | Nuclear number (needed for XENON) |
bool Nucleus::printIt | ( | int | level = 1 |
) | [virtual] |
Virtual method to print the object.
level | print level |
Reimplemented from XeObject.