This template class allows the compiler to check calculations with physical quantities for dimensional correctness. More...
This template class allows the compiler to check calculations with physical quantities for dimensional correctness.
A quantity can be composed of arbitrary fractional powers of length L, energy E and charge Q. Commonly used quantities should be typedef'ed (see Units.h).
Some member functions can break dimensional consistency if the user is not careful; these are marked explicitly.
Do not use this class directly in ThePEG, use the pre-defined quantities from Units.h or the wrapper in Phys_Qty.h instead.
Definition at line 52 of file PhysicalQty.h.