![]() |
TkN 2.1
Toolkit for Nuclei
|
Decodding of the ENSDF level properties. More...
Decodding of the ENSDF level properties.
Definition at line 82 of file tkensdf_level_rec.h.
#include <tkensdf_level_rec.h>
Public Member Functions | |
tkensdf_level_rec () | |
tkensdf_level_rec (const tkensdf_level_rec &_level_record)=default | |
~tkensdf_level_rec () | |
void | analyse_continuation_record () override |
analyse a continuation record More... | |
virtual void | analyse_record () override |
analyse the record content More... | |
void | clear () override |
bool | decode_jpi (const tkstring &_st) |
decode the spin parity part More... | |
const tkspin * | get_J () const |
const double & | get_j () const |
const tkstring & | get_Jpi_str () const |
tkstring | get_jpi_str (const tkstring &_record) const |
extract the JPi part More... | |
const tkparity * | get_Pi () const |
const bool & | get_pi () const |
void | print (std::ostream &) const override |
virtual bool | set_record (const tkstring &_record) override |
define the record from a string More... | |
![]() | |
tkensdf_record () | |
~tkensdf_record () | |
virtual void | add_comment_record (const tkstring &_comment_record, bool _is_continuation=false) |
add a continuation record from a string More... | |
virtual void | add_continuation_record (const tkstring &_continuation_record) |
add a continuation record from a string More... | |
virtual void | analyse_comment_record () |
analyse the continuation record More... | |
virtual void | analyse_continuation_record () |
analyse the continuation record More... | |
virtual void | analyse_record () |
analyse the record content, to be re implemented in all daughter classes More... | |
void | check_record_type () |
check record type from its string More... | |
virtual void | clear () |
bool | decode_energy (const tkstring &_st) |
decode an anergy record More... | |
bool | decode_lifetime (const tkstring &_st, const tkstring &_st_ms) |
decode a lifetime record More... | |
virtual const tkstring & | get_comment_record () const |
get the continuation record More... | |
virtual tkstring | get_continuation_record () |
get the continuation record More... | |
const tkdb_table::measure_data_struct & | get_energy () const |
tkstring | get_energy_offset () |
get_energy_offset More... | |
tkstring | get_energy_str (const tkstring &_record) const |
extract the energy part More... | |
const tkdb_table::measure_data_struct & | get_lifetime () const |
tkstring | get_lifetime_metastable_str (const tkstring &_record) const |
extract the lifetime part More... | |
tkstring | get_lifetime_str (const tkstring &_record) const |
extract the lifetime part More... | |
const tkstring & | get_record () |
get record More... | |
record_type | get_record_type () |
get record type More... | |
const tkstring & | get_uncertain_record () const |
get the record uncertain type More... | |
bool | is_comment () |
to now if the record is a comment More... | |
bool | is_continuation_record () |
to now if the record is a continuation record or not More... | |
bool | is_energy_offset () |
to now if the energy is given with an offset More... | |
bool | is_uncertain () const |
check if the record is uncertain More... | |
virtual void | print (std::ostream &) const |
void | set_offset (tkstring _offset) |
set_energy_offset More... | |
virtual bool | set_record (const tkstring &_record) |
define the record from a string. Option false only checks if the record is an identification record More... | |
Public Attributes | |
double | fJ = 0 |
tkstring | fJPi_str = "" |
bool | fJPi_tentative = false |
int | flevelid = -1 |
tkparity | fParity {} |
bool | fPi = true |
tkspin | fSpin {} |
spin parameters More... | |
![]() | |
tkstring | fglobal_time_unit {} |
Additional Inherited Members | |
![]() | |
enum | record_type { kident , khistory , kq_value , kxref , kcomment , kparent , knorm , kprodnorm , klevel , kbeta , kec , kalpha , kparticle , kgamma , kreference , kend , kunknown } |
![]() | |
static std::string | BLANK = " " |
static const int | RSIZE = 81 |
Definition at line 53 of file tkensdf_level_rec.cpp.
|
default |
|
inline |
Definition at line 101 of file tkensdf_level_rec.h.
|
overridevirtual |
analyse a continuation record
Reimplemented from tkensdf_record.
Definition at line 78 of file tkensdf_level_rec.cpp.
|
overridevirtual |
analyse the record content
Reimplemented from tkensdf_record.
Definition at line 64 of file tkensdf_level_rec.cpp.
|
overridevirtual |
spin parameters
Reimplemented from tkensdf_record.
Definition at line 98 of file tkensdf_level_rec.cpp.
bool decode_jpi | ( | const tkstring & | _st | ) |
decode the spin parity part
Definition at line 116 of file tkensdf_level_rec.cpp.
|
inline |
Definition at line 116 of file tkensdf_level_rec.h.
|
inline |
Definition at line 120 of file tkensdf_level_rec.h.
|
inline |
Definition at line 119 of file tkensdf_level_rec.h.
extract the JPi part
Definition at line 111 of file tkensdf_level_rec.h.
|
inline |
Definition at line 117 of file tkensdf_level_rec.h.
|
inline |
Definition at line 121 of file tkensdf_level_rec.h.
|
overridevirtual |
Reimplemented from tkensdf_record.
Definition at line 111 of file tkensdf_level_rec.cpp.
|
overridevirtual |
define the record from a string
Reimplemented from tkensdf_record.
Definition at line 58 of file tkensdf_level_rec.cpp.
double fJ = 0 |
Definition at line 92 of file tkensdf_level_rec.h.
tkstring fJPi_str = "" |
Definition at line 90 of file tkensdf_level_rec.h.
bool fJPi_tentative = false |
Definition at line 91 of file tkensdf_level_rec.h.
int flevelid = -1 |
Definition at line 95 of file tkensdf_level_rec.h.
tkparity fParity {} |
Definition at line 88 of file tkensdf_level_rec.h.
bool fPi = true |
Definition at line 93 of file tkensdf_level_rec.h.
tkspin fSpin {} |
spin parameters
Definition at line 87 of file tkensdf_level_rec.h.