template<typename T, typename UT>
struct ThePEG::IUnit< T, UT >
The IUnit class is used to facilitate input of unitful numbers from and to a persistent stream.
An Energy can hence be read like this:
is >> iunit(x, GeV);
Also containers of unitful numbers may be read like this, as well as LorentzVector and ThreeVector.
- See also
Definition at line 64 of file UnitIO.h.