Direct boosts and rotations are methods of HepLorentzVector which modify the 4-vector being acted upon-- e.g., w.boost --or global functions which form a new vector-- e.g., boostOf .
Rotations act in the obvious manner, affecting only the component of the 4-vector--see §.
In analogy with our ``active'' rotation viewpoint, boosts are treated as ``active'' transformations rather than transformations of the coordinate system. That is, if you take a 4-vector at rest, with positive mass (), and boost it by a positive amount in the X direction, the resulting 4-vector will have positive .
Boosts along the X, Y, or Z axis are simpler than the general case. Let :
More general rotations boosts may be expressed in terms of along an axis given as a Hep3Vector (which will be normalized), or in terms of a Hep3Vector boost , which must obey . (Boosts beyond the speed of light ZMthrow a ZMxpvTachyonic error, and leave the 4-vector unchanged if this is ignored.)
For the axis form,
For the boost vector form,