template<typename T, typename UT>
struct ThePEG::OUnitErr< T, UT >
OUnitErr is used to write out unitful numbers with an error estimate on a standard ostream.
using the helper function ouniterr an energy e
with an error estimate de
can be written out as eg. cout << ouniterr(e, de, GeV);
. The result will be presented in scientific format (with the exponent divisible by three) with the relevant number of significant digits with a single digit in parenthesis indicating the error in the least significant digit, eg. 1.23(2)e+03
.
Definition at line 152 of file UnitIO.h.