![]() |
TkN 2.1
Toolkit for Nuclei
|
Stores information on a specific dataset. More...
Stores information on a specific dataset.
The database used for the levels and decays is extracted from the ENSDF database.For a given nucleus, the database is composed of different validated datasets, corresponding to different ways to produce the nucleus. A global dataset named : "ADOPTED LEVELS, GAMMAS" is used to merge all the different datasets in one. This is the default dataset of any nucleus in TkN.TkN allows to load the different datasets. For a given nucleus, the datasets and their associated ID can be listed using:
Definition at line 54 of file tklevel_scheme.h.
#include <tklevel_scheme.h>
Public Member Functions | |
tkdataset ()=default | |
tkdataset (const tkstring &_nuc, int _zz, int _aa, const tkstring &_name, int _id) | |
virtual | ~tkdataset ()=default |
shared_ptr< tkgammadecay > | add_gamma_decay (shared_ptr< tklevel > _lvlfrom, shared_ptr< tklevel > _lvlto, double _ener=0., double _unc=0.) |
add a new decay between two levels to the dataset More... | |
shared_ptr< tklevel > | add_level (double _ener, double _unc, tkstring _unit, tkstring _jpistr) |
manually add a new level to the dataset More... | |
int | get_id () const |
returns the dataset ID More... | |
const tkstring & | get_name () const |
returns the dataset name More... | |
const tkstring & | get_nucleus_name () const |
returns the nucleus name associated to this dataset More... | |
Friends | |
class | tklevel |
class | tklevel_scheme |
Definition at line 77 of file tklevel_scheme.h.
|
default |
|
virtualdefault |
shared_ptr< tkgammadecay > add_gamma_decay | ( | shared_ptr< tklevel > | _lvlfrom, |
shared_ptr< tklevel > | _lvlto, | ||
double | _ener = 0. , |
||
double | _unc = 0. |
||
) |
add a new decay between two levels to the dataset
Definition at line 572 of file tklevel_scheme.cpp.
manually add a new level to the dataset
Definition at line 540 of file tklevel_scheme.cpp.
|
inline |
returns the dataset ID
Definition at line 82 of file tklevel_scheme.h.
|
inline |
returns the dataset name
Definition at line 84 of file tklevel_scheme.h.
|
inline |
returns the nucleus name associated to this dataset
Definition at line 86 of file tklevel_scheme.h.
|
friend |
Definition at line 56 of file tklevel_scheme.h.
|
friend |
Definition at line 57 of file tklevel_scheme.h.