You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[math][Docs] Further improve GenVector documentation.
- Group helper functions in the GenVector group, so all helpers can be
found on one page.
- Remove mathcore::LorentzVector references from doxygen.
- Add a missing docstring.
- Change a [!note] into \note for doxygen
Copy file name to clipboardExpand all lines: math/genvector/doc/index.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,10 @@ The metric used for any such LorentzVector is (-,-,-,+).
121
121
\anchor GenVectorOperations
122
122
## Operations
123
123
124
+
### Utility Functions for all Vectors
125
+
126
+
Check the functions below, as well as in \ref ROOT::Math::VectorUtil for non-member functions such as DeltaR, Angle, boost.
127
+
124
128
### Constructors and Assignment
125
129
126
130
A vector can be constructed from its coordinate representation:
@@ -162,8 +166,7 @@ v3 = v1 - v2;
162
166
Note that the multiplication between two vectors using the `operator *` is not supported
163
167
because it is ambiguous.
164
168
165
-
> [!note]
166
-
> For the vectors using the 4D coordinate systems based on mass instead of energy (such as **`ROOT::Math::PxPyPzM4D`** or **`ROOT::Math::PtEtaPhiM4D`**) the unary operator `-` (negation) doesn't perform a 4-vector negation. Instead, it negates only the spatial components, which might result in unintuive behaviours (for instance, for PxPyPzM4D coordinate system, \f$\textbf{v}+ \left(-\textbf{v}\right) \neq \textbf{v} -\textbf{v}\f$).
169
+
\note For the vectors using the 4D coordinate systems based on mass instead of energy (such as **`ROOT::Math::PxPyPzM4D`** or **`ROOT::Math::PtEtaPhiM4D`**) the unary operator `-` (negation) doesn't perform a 4-vector negation. Instead, it negates only the spatial components, which might result in unintuive behaviours (for instance, for PxPyPzM4D coordinate system, \f$\textbf{v}+ \left(-\textbf{v}\right) \neq \textbf{v} -\textbf{v}\f$).
0 commit comments