![]() |
TkN 2.1
Toolkit for Nuclei
|
Decodding of the ENSDF records. More...
Decodding of the ENSDF records.
Definition at line 74 of file tkensdf_record.h.
#include <tkensdf_record.h>
Public Types | |
enum | record_type { kident , khistory , kq_value , kxref , kcomment , kparent , knorm , kprodnorm , klevel , kbeta , kec , kalpha , kparticle , kgamma , kreference , kend , kunknown } |
Public Member Functions | |
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 | |
tkstring | fglobal_time_unit {} |
Static Public Attributes | |
static std::string | BLANK = " " |
static const int | RSIZE = 81 |
enum record_type |
Enumerator | |
---|---|
kident | |
khistory | |
kq_value | |
kxref | |
kcomment | |
kparent | |
knorm | |
kprodnorm | |
klevel | |
kbeta | |
kec | |
kalpha | |
kparticle | |
kgamma | |
kreference | |
kend | |
kunknown |
Definition at line 78 of file tkensdf_record.h.
|
inline |
Definition at line 106 of file tkensdf_record.h.
|
inline |
Definition at line 107 of file tkensdf_record.h.
|
virtual |
add a continuation record from a string
Definition at line 80 of file tkensdf_record.cpp.
|
virtual |
add a continuation record from a string
Definition at line 71 of file tkensdf_record.cpp.
|
inlinevirtual |
analyse the continuation record
Definition at line 131 of file tkensdf_record.h.
|
inlinevirtual |
analyse the continuation record
Reimplemented in tkensdf_gamma_rec, and tkensdf_level_rec.
Definition at line 122 of file tkensdf_record.h.
|
inlinevirtual |
analyse the record content, to be re implemented in all daughter classes
Reimplemented in tkensdf_gamma_rec, tkensdf_ident_rec, and tkensdf_level_rec.
Definition at line 113 of file tkensdf_record.h.
void check_record_type | ( | ) |
check record type from its string
the order of the checks are done relatively to their probabily to happen
Definition at line 90 of file tkensdf_record.cpp.
|
virtual |
Reimplemented in tkensdf_gamma_rec, tkensdf_ident_rec, and tkensdf_level_rec.
Definition at line 347 of file tkensdf_record.cpp.
bool decode_energy | ( | const tkstring & | _st | ) |
decode an anergy record
Definition at line 194 of file tkensdf_record.cpp.
decode a lifetime record
Definition at line 269 of file tkensdf_record.cpp.
|
inlinevirtual |
get the continuation record
Definition at line 128 of file tkensdf_record.h.
|
inlinevirtual |
get the continuation record
Definition at line 119 of file tkensdf_record.h.
|
inline |
Definition at line 187 of file tkensdf_record.h.
|
inline |
get_energy_offset
Definition at line 176 of file tkensdf_record.h.
extract the energy part
Definition at line 149 of file tkensdf_record.h.
|
inline |
Definition at line 186 of file tkensdf_record.h.
extract the lifetime part
Definition at line 155 of file tkensdf_record.h.
extract the lifetime part
Definition at line 152 of file tkensdf_record.h.
|
inline |
get record
Definition at line 137 of file tkensdf_record.h.
|
inline |
get record type
Definition at line 140 of file tkensdf_record.h.
|
inline |
get the record uncertain type
Definition at line 167 of file tkensdf_record.h.
|
inline |
to now if the record is a comment
Definition at line 146 of file tkensdf_record.h.
|
inline |
to now if the record is a continuation record or not
Definition at line 143 of file tkensdf_record.h.
|
inline |
to now if the energy is given with an offset
Definition at line 173 of file tkensdf_record.h.
|
inline |
check if the record is uncertain
Definition at line 164 of file tkensdf_record.h.
|
virtual |
Reimplemented in tkensdf_gamma_rec, tkensdf_ident_rec, and tkensdf_level_rec.
Definition at line 364 of file tkensdf_record.cpp.
|
inline |
set_energy_offset
Definition at line 170 of file tkensdf_record.h.
|
virtual |
define the record from a string. Option false only checks if the record is an identification record
Reimplemented in tkensdf_gamma_rec, tkensdf_ident_rec, and tkensdf_level_rec.
Definition at line 54 of file tkensdf_record.cpp.
|
static |
Definition at line 81 of file tkensdf_record.h.
tkstring fglobal_time_unit {} |
Definition at line 83 of file tkensdf_record.h.
|
static |
Definition at line 80 of file tkensdf_record.h.