Skip to content

Commit 7c237b5

Browse files
committed
order in vector of docs
1 parent b52c630 commit 7c237b5

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/coordinate_systems/xyze.jl

+15-15
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Return the square of the spatial_magnitude of a given four-momentum, i.e. the su
5959
6060
!!! example
6161
62-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `px^2+ py^2 + pz^2`.
62+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `px^2+ py^2 + pz^2`.
6363
6464
6565
!!! warning
@@ -79,7 +79,7 @@ Return the spatial_magnitude of a given four-momentum, i.e. the euklidian norm s
7979
8080
!!! example
8181
82-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2 + pz^2)`.
82+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2 + pz^2)`.
8383
8484
8585
!!! warning
@@ -99,7 +99,7 @@ Return the squared invariant mass of a given four-momentum, i.e. the minkowski d
9999
100100
!!! example
101101
102-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `E^2 - (px^2 + py^2 + pz^2)`.
102+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `E^2 - (px^2 + py^2 + pz^2)`.
103103
104104
105105
"""
@@ -115,7 +115,7 @@ Return the the invariant mass of a given four-momentum, i.e. the square root of
115115
116116
!!! example
117117
118-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `sqrt(E^2 - (px^2 + py^2 + pz^2))`.
118+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `sqrt(E^2 - (px^2 + py^2 + pz^2))`.
119119
120120
121121
!!! note
@@ -142,7 +142,7 @@ Return spatial_magnitude of the beta vector for a given four-momentum, i.e. the
142142
143143
!!! example
144144
145-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2 + pz^2)/E`.
145+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2 + pz^2)/E`.
146146
147147
"""
148148
@inline function boost_beta(::XYZE, mom)
@@ -169,7 +169,7 @@ Return the relativistic gamma factor for a given four-momentum, i.e. the inverse
169169
170170
!!! example
171171
172-
If `(E,px,py,pz)` is a four-momentum with beta vector `β`, this is equivalent to `1/sqrt(1- β^2)`.
172+
If `(px,py,pz,E)` is a four-momentum with beta vector `β`, this is equivalent to `1/sqrt(1- β^2)`.
173173
174174
"""
175175
@inline function boost_gamma(::XYZE, mom)
@@ -187,7 +187,7 @@ Return the squared transverse momentum for a given four-momentum, i.e. the sum o
187187
188188
!!! example
189189
190-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `px^2 + py^2`.
190+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `px^2 + py^2`.
191191
192192
!!! note
193193
@@ -206,7 +206,7 @@ Return the transverse momentum for a given four-momentum, i.e. the spatial_magni
206206
207207
!!! example
208208
209-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2)`.
209+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `sqrt(px^2 + py^2)`.
210210
211211
212212
!!! note
@@ -226,7 +226,7 @@ Return the squared transverse mass for a given four-momentum, i.e. the differenc
226226
227227
!!! example
228228
229-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `E^2 - pz^2`.
229+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `E^2 - pz^2`.
230230
231231
232232
!!! note
@@ -247,7 +247,7 @@ Return the transverse momentum for a given four-momentum, i.e. the square root o
247247
248248
!!! example
249249
250-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `sqrt(E^2 - pz^2)`.
250+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `sqrt(E^2 - pz^2)`.
251251
252252
253253
!!! note
@@ -277,7 +277,7 @@ Return the [rapidity](https://en.wikipedia.org/wiki/Rapidity) for a given four-m
277277
278278
!!! example
279279
280-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `0.5*log((E+pz)/(E-pz))`.
280+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `0.5*log((E+pz)/(E-pz))`.
281281
282282
283283
!!! note
@@ -327,7 +327,7 @@ Return the theta angle for a given four-momentum, i.e. the polar angle of its sp
327327
328328
!!! example
329329
330-
If `(E,px,py,pz)` is a four-momentum with spatial_magnitude `rho`, this is equivalent to `arccos(pz/rho)`, which is also equivalent to `arctan(sqrt(px^2+py^2)/pz)`.
330+
If `(px,py,pz,E)` is a four-momentum with spatial_magnitude `rho`, this is equivalent to `arccos(pz/rho)`, which is also equivalent to `arctan(sqrt(px^2+py^2)/pz)`.
331331
332332
!!! note
333333
@@ -370,7 +370,7 @@ Return the phi angle for a given four-momentum, i.e. the azimuthal angle of its
370370
371371
!!! example
372372
373-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `atan(py,px)`.
373+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `atan(py,px)`.
374374
375375
!!! note
376376
@@ -426,7 +426,7 @@ Return the plus component for a given four-momentum in [light-cone coordinates](
426426
427427
!!! example
428428
429-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `(E+pz)/2`.
429+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `(E+pz)/2`.
430430
431431
!!! note
432432
@@ -449,7 +449,7 @@ Return the minus component for a given four-momentum in [light-cone coordinates]
449449
450450
!!! example
451451
452-
If `(E,px,py,pz)` is a four-momentum, this is equivalent to `(E-pz)/2`.
452+
If `(px,py,pz,E)` is a four-momentum, this is equivalent to `(E-pz)/2`.
453453
454454
!!! note
455455

0 commit comments

Comments
 (0)