![]() |
TkN 2.1
Toolkit for Nuclei
|
Nuclear excited state spin-parity. More...
Nuclear excited state spin-parity.
The tkspin_parity class handles the tkn::tkspin and tkn::tkparity values of a nuclear level.
Definition at line 124 of file tkspin_parity.h.
#include <tkspin_parity.h>
Public Member Functions | |
tkspin_parity () | |
virtual | ~tkspin_parity () |
const tkstring & | get_jpi_str () const |
returns the spin and parity string More... | |
tkparity | get_parity () |
returns the parity object More... | |
tkspin | get_spin () |
returns the spin object More... | |
virtual bool | is_known () |
test if the spin and parity are known More... | |
void | print () |
print the spin and parity properties More... | |
void | set_from_str (const tkstring &_st) |
define the spin parity from a string More... | |
void | set_parity (int _parity) |
define the parity from an integer More... | |
void | set_spin (double _spin) |
define the spin from a float More... | |
|
default |
|
inlinevirtual |
Definition at line 133 of file tkspin_parity.h.
const tkstring & get_jpi_str | ( | ) | const |
returns the spin and parity string
Definition at line 316 of file tkspin_parity.cpp.
|
inline |
returns the parity object
Definition at line 153 of file tkspin_parity.h.
|
inline |
returns the spin object
Definition at line 151 of file tkspin_parity.h.
|
inlinevirtual |
test if the spin and parity are known
Definition at line 145 of file tkspin_parity.h.
void print | ( | ) |
print the spin and parity properties
Definition at line 321 of file tkspin_parity.cpp.
void set_from_str | ( | const tkstring & | _st | ) |
define the spin parity from a string
Definition at line 296 of file tkspin_parity.cpp.
void set_parity | ( | int | _parity | ) |
define the parity from an integer
Definition at line 311 of file tkspin_parity.cpp.
void set_spin | ( | double | _spin | ) |
define the spin from a float
Definition at line 306 of file tkspin_parity.cpp.