GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
float BaseENSDF::GetT ( const char *  r,
float &  unit,
std::string &  option 
)
inherited

to get the T (half-life) field of a record.

The unit is always second . ENSDF files provides T with a numerical value and an associated unit given as a string. This function returns T in second. The second arguments returns the ENSDF units in second. This is needed to set the proper DT value. As for the enrgy field, a question mark in the third argument means a tentative value.

Todo:
  • There is no translation for the moment if the unit given is eV

PS: STABLE means 10E15 years

Definition at line 616 of file BaseENSDF.cpp.