37#include "tkensdf_level_rec.h"
39#include "tkproperty.h"
67 fUncertain_record = frecord.
substr(79,1);
81 auto tokens = fcontinuation_record.tokenize(
"$");
82 for(
auto &token: tokens) {
84 if(token.begins_with(
"FLAG"))
continue;
85 if(token.begins_with(
"XREF"))
continue;
86 if(token.begins_with(
"BE") || token.begins_with(
"BM")) {
89 else if (token.begins_with(
"B")) {
92 else if(token.begins_with(
"CONF")) {
113 glog <<
info_o <<
"level: E=" << fenergy.value <<
"(" << fenergy.err <<
")" <<
" : JPi=" <<
fJPi_str <<
do_endl;
119 fJPi_str.remove_all_extra_white_space();
131 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)