14#include "tkensdf_level_rec.h"
16#include "tkproperty.h"
44 fUncertain_record = frecord.
substr(79,1);
58 auto tokens = fcontinuation_record.tokenize(
"$");
59 for(
auto &token: tokens) {
61 if(token.begins_with(
"FLAG"))
continue;
62 if(token.begins_with(
"XREF"))
continue;
63 if(token.begins_with(
"BE") || token.begins_with(
"BM")) {
66 else if (token.begins_with(
"B")) {
69 else if(token.begins_with(
"CONF")) {
90 glog <<
info_o <<
"level: E=" << fenergy.value <<
"(" << fenergy.err <<
")" <<
" : JPi=" <<
fJPi_str <<
do_endl;
96 fJPi_str.remove_all_extra_white_space();
108 if(
fJPi_str.substr(0,1).is_alpha() &&
void print(std::ostream &) const override
void analyse_continuation_record() override
analyse a continuation record
tkstring get_jpi_str(const tkstring &_record) const
extract the JPi part
virtual void analyse_record() override
analyse the record content
virtual bool set_record(const tkstring &_record) override
define the record from a string
bool decode_jpi(const tkstring &_st)
decode the spin parity part
tkspin fSpin
spin parameters
bool decode_lifetime(const tkstring &_st, const tkstring &_st_ms)
decode a lifetime record
bool decode_energy(const tkstring &_st)
decode an anergy record
tkstring get_lifetime_metastable_str(const tkstring &_record) const
extract the lifetime part
tkstring get_energy_str(const tkstring &_record) const
extract the energy part
tkstring get_lifetime_str(const tkstring &_record) const
extract the lifetime part
std::string with usefull tricks from TString (ROOT) and KVString (KaliVeda) and more....
tkstring substr(size_type __pos=0, size_type __n=npos) const
Inlines.
tklog & info_o(tklog &log)
tklog & do_endl(tklog &log)