GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
float BaseENSDF::GetPrecision ( std::string  st)
inherited

extract the precision for a given ENSDF data

In ENSDF files, the uncertainty is a two characters field given in the standard form. 'The standard numeric uncertainty denotes an uncertainty in the last significant figures'.

Ex (from ENSDF doc):

  • NR=0.873 DNR=11 means 0.873[+/-]0.011
  • QP=2.3E6 DQP=10 means (2.3[+/-]1.0)E6

Given the quantity (NR or QP ...) as a string, this member returns the coefficient that must multiply the uncertainty field to get the true uncertainty.

Definition at line 544 of file BaseENSDF.cpp.