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

to get the energy field of a record

As specified in the ENSDF documentation, the energy could be defined with an offset which is a character in the following order: X, Y, Z, U, V, W, A, B .... If the energy field in the ENSDF file contains such a character, it is copied in the second argument at the first place in the string. If there is no shift, the first character is set to blank. If there are parentheses around this field (tentative value), it is also written in the second argument as a question mark in the second character.

Warning
the case of resonance energies is not yet treated !

Definition at line 509 of file BaseENSDF.cpp.