next up previous contents
Next: Other Boolean Methods for Up: Near-equality of HepLorentzVectors Previous: Near-equality of HepLorentzVectors   Contents

Ordering Comparisons for HepLorentzVectors

The comparison operators ( >, >=, <, <= ) for HepLorentzVector act by comparing first the time component, then the Hep3Vector part. The latter comparison is done using definition ([*]).

\begin{displaymath}
w_1 > w_2 \mbox{ if }
t_1 > t_2 \mbox { or } \left[
t_1 = t_2 \mbox { and }
\vec{v}_1 > \vec{v}_2 \right]
\end{displaymath} (112)



Fermilab ZOOM Physics Class Library Task Force