thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Vectors
LorentzRotation.h
1
// -*- C++ -*-
2
//
3
// LorentzRotation.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef THEPEG_LorentzRotation_H
10
#define THEPEG_LorentzRotation_H
11
//
12
// This is the declaration of the LorentzRotation class.
13
//
14
#include "SpinOneLorentzRotation.h"
15
#include "SpinHalfLorentzRotation.h"
16
#include "LorentzRotation.fh"
17
18
namespace
ThePEG
{
19
27
class
LorentzRotation
{
28
32
friend
LorentzRotation
inverseOf
(
const
LorentzRotation
& lt );
33
34
public
:
35
38
42
LorentzRotation
() :
_half
(),
_one
() {}
43
51
LorentzRotation
(
double
bx,
double
by,
double
bz,
double
gamma=-1.)
52
:
_half
(bx,by,bz,gamma),
_one
(bx,by,bz,gamma) {}
53
59
LorentzRotation
(
const
Boost
& b,
double
gamma=-1.)
60
:
_half
(b,gamma),
_one
(b,gamma) {}
62
66
bool
isIdentity
()
const
{
67
return
_half
.
isIdentity
() &&
_one
.
isIdentity
();
68
}
69
73
LorentzRotation
inverse
()
const
{
74
LorentzRotation
output;
75
output.
_half
=
_half
.
inverse
();
76
output.
_one
=
_one
.
inverse
();
77
return
output;
78
}
79
83
LorentzRotation
&
invert
() {
84
return
*
this
=
inverse
();
85
}
86
90
std::ostream &
print
( std::ostream & os )
const
;
91
94
102
LorentzRotation
&
setBoost
(
double
bx,
double
by,
double
bz,
double
gamma=-1.) {
103
_half
.
setBoost
(bx,by,bz,gamma);
104
_one
.
setBoost
(bx,by,bz,gamma);
105
return
*
this
;
106
}
107
113
LorentzRotation
&
setBoost
(
const
Boost
& b,
double
gamma=-1.) {
114
_half
.
setBoost
(b,gamma);
115
_one
.
setBoost
(b,gamma);
116
return
*
this
;
117
}
118
123
LorentzRotation
&
setBoostX
(
double
boost
) {
124
_half
.
setBoostX
(
boost
);
125
_one
.
setBoost
(
boost
,0,0);
126
return
*
this
;
127
}
128
133
LorentzRotation
&
setBoostY
(
double
boost
) {
134
_half
.
setBoostY
(
boost
);
135
_one
.
setBoost
(0,
boost
,0);
136
return
*
this
;
137
}
138
143
LorentzRotation
&
setBoostZ
(
double
boost
) {
144
_half
.
setBoostZ
(
boost
);
145
_one
.
setBoost
(0,0,
boost
);
146
return
*
this
;
147
}
148
154
LorentzRotation
&
setRotate
(
double
delta,
const
Axis
& axis) {
155
_half
.
setRotate
(delta,axis);
156
_one
.
setRotate
(delta,axis);
157
return
*
this
;
158
}
159
164
LorentzRotation
&
setRotateX
(
double
angle) {
165
_half
.
setRotateX
(angle);
166
_one
.
setRotateX
(angle);
167
return
*
this
;
168
}
169
174
LorentzRotation
&
setRotateY
(
double
angle) {
175
_half
.
setRotateZ
(angle);
176
_one
.
setRotateZ
(angle);
177
return
*
this
;
178
}
179
184
LorentzRotation
&
setRotateZ
(
double
angle) {
185
_half
.
setRotateZ
(angle);
186
_one
.
setRotateZ
(angle);
187
return
*
this
;
188
}
190
193
197
const
SpinHalfLorentzRotation
&
half
()
const
{
return
_half
; }
198
202
const
SpinOneLorentzRotation
&
one
()
const
{
return
_one
; }
203
207
operator
const
SpinOneLorentzRotation
& ()
const
{
return
_one
; }
209
212
216
double
xx
()
const
{
return
_one
.
xx
(); }
217
221
double
xy
()
const
{
return
_one
.
xy
(); }
222
226
double
xz
()
const
{
return
_one
.
xz
(); }
227
231
double
xt
()
const
{
return
_one
.
xt
(); }
232
236
double
yx
()
const
{
return
_one
.
yx
(); }
237
241
double
yy
()
const
{
return
_one
.
yy
(); }
242
246
double
yz
()
const
{
return
_one
.
yz
(); }
247
251
double
yt
()
const
{
return
_one
.
yt
(); }
252
256
double
zx
()
const
{
return
_one
.
zx
(); }
257
261
double
zy
()
const
{
return
_one
.
zy
(); }
262
266
double
zz
()
const
{
return
_one
.
zz
(); }
267
271
double
zt
()
const
{
return
_one
.
zt
(); }
272
276
double
tx
()
const
{
return
_one
.
tx
(); }
277
281
double
ty
()
const
{
return
_one
.
ty
(); }
282
286
double
tz
()
const
{
return
_one
.
tz
(); }
287
291
double
tt
()
const
{
return
_one
.
tt
(); }
293
299
Complex
s1s1
()
const
{
return
_half
.
s1s1
(); }
300
304
Complex
s1s2
()
const
{
return
_half
.
s1s2
(); }
305
309
Complex
s1s3
()
const
{
return
_half
.
s1s3
(); }
310
314
Complex
s1s4
()
const
{
return
_half
.
s1s4
(); }
315
319
Complex
s2s1
()
const
{
return
_half
.
s2s1
(); }
320
324
Complex
s2s2
()
const
{
return
_half
.
s2s2
(); }
325
329
Complex
s2s3
()
const
{
return
_half
.
s2s3
(); }
330
334
Complex
s2s4
()
const
{
return
_half
.
s2s4
(); }
335
339
Complex
s3s1
()
const
{
return
_half
.
s3s1
(); }
340
344
Complex
s3s2
()
const
{
return
_half
.
s3s2
(); }
345
349
Complex
s3s3
()
const
{
return
_half
.
s3s3
(); }
350
354
Complex
s3s4
()
const
{
return
_half
.
s3s4
(); }
355
359
Complex
s4s1
()
const
{
return
_half
.
s4s1
(); }
360
364
Complex
s4s2
()
const
{
return
_half
.
s4s2
(); }
365
369
Complex
s4s3
()
const
{
return
_half
.
s4s3
(); }
370
374
Complex
s4s4
()
const
{
return
_half
.
s4s4
(); }
376
377
380
384
template
<
typename
Value>
385
LorentzVector<Value>
386
operator*
(
const
LorentzVector<Value>
& lv)
const
{
return
one
()*lv; }
387
391
template
<
typename
Value>
392
Lorentz5Vector<Value>
393
operator*
(
const
Lorentz5Vector<Value>
& lv)
const
{
return
one
()*lv; }
394
399
LorentzRotation
operator *
(
const
LorentzRotation
& lt)
const
{
400
LorentzRotation
output;
401
output.
_half
=
_half
* lt.
_half
;
402
output.
_one
=
_one
* lt.
_one
;
403
return
output;
404
}
405
409
LorentzRotation
&
operator *=
(
const
LorentzRotation
& lt) {
410
_one
*=lt.
_one
;
411
_half
*=lt.
_half
;
412
return
*
this
;
413
}
414
418
LorentzRotation
&
transform
(
const
LorentzRotation
& lt) {
419
_half
.
transform
(lt.
_half
);
420
_one
.
transform
(lt.
_one
);
421
return
*
this
;
422
}
423
427
LorentzRotation
&
rotateX
(
double
delta) {
428
_half
.
rotateX
(delta);
429
_one
.
rotateX
(delta);
430
return
*
this
;
431
}
432
436
LorentzRotation
&
rotateY
(
double
delta) {
437
_half
.
rotateY
(delta);
438
_one
.
rotateY
(delta);
439
return
*
this
;
440
}
441
445
LorentzRotation
&
rotateZ
(
double
delta) {
446
_half
.
rotateZ
(delta);
447
_one
.
rotateZ
(delta);
448
return
*
this
;
449
}
450
454
LorentzRotation
&
rotate
(
double
delta,
const
Axis
& axis) {
455
_half
.
rotate
(delta,axis);
456
_one
.
rotate
(delta,axis);
457
return
*
this
;
458
}
459
463
LorentzRotation
&
boostX
(
double
beta) {
464
_half
.
boostX
(beta);
465
_one
.
boostX
(beta);
466
return
*
this
;
467
}
468
472
LorentzRotation
&
boostY
(
double
beta) {
473
_half
.
boostY
(beta);
474
_one
.
boostY
(beta);
475
return
*
this
;
476
}
477
481
LorentzRotation
&
boostZ
(
double
beta) {
482
_half
.
boostZ
(beta);
483
_one
.
boostZ
(beta);
484
return
*
this
;
485
}
486
494
LorentzRotation
&
boost
(
double
bx,
double
by,
double
bz,
double
gamma=-1.) {
495
_half
.
boost
(bx,by,bz,gamma);
496
_one
.
boost
(bx,by,bz,gamma);
497
return
*
this
;
498
}
499
505
LorentzRotation
&
boost
(
const
Boost
& bv,
double
gamma=-1.) {
506
_half
.
boost
(bv,gamma);
507
_one
.
boost
(bv,gamma);
508
return
*
this
;
509
}
511
512
private
:
513
517
SpinHalfLorentzRotation
_half
;
518
522
SpinOneLorentzRotation
_one
;
523
524
};
525
529
inline
LorentzRotation
inverseOf
(
const
LorentzRotation
& lt ) {
530
return
lt.
inverse
();
531
}
532
536
inline
std::ostream &
operator<<
( std::ostream & os,
537
const
LorentzRotation
& lt ) {
538
return
lt.
print
(os);
539
}
540
541
}
542
543
#endif
/* THEPEG_LorentzRotation_H */
544
ThePEG::Lorentz5Vector
The Lorentz5Vector inherits from the LorentzVector class.
Definition:
Lorentz5Vector.h:42
ThePEG::LorentzRotation
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
Definition:
LorentzRotation.h:27
ThePEG::LorentzRotation::zy
double zy() const
The zy component.
Definition:
LorentzRotation.h:261
ThePEG::LorentzRotation::transform
LorentzRotation & transform(const LorentzRotation <)
Transform (similar to *= but a.transform(b) becomes a = b*a.
Definition:
LorentzRotation.h:418
ThePEG::LorentzRotation::s4s4
Complex s4s4() const
The component.
Definition:
LorentzRotation.h:374
ThePEG::LorentzRotation::s2s3
Complex s2s3() const
The component.
Definition:
LorentzRotation.h:329
ThePEG::LorentzRotation::yz
double yz() const
The yz component.
Definition:
LorentzRotation.h:246
ThePEG::LorentzRotation::xx
double xx() const
The xx component.
Definition:
LorentzRotation.h:216
ThePEG::LorentzRotation::xz
double xz() const
The xz component.
Definition:
LorentzRotation.h:226
ThePEG::LorentzRotation::s1s2
Complex s1s2() const
The component.
Definition:
LorentzRotation.h:304
ThePEG::LorentzRotation::tz
double tz() const
The tz component.
Definition:
LorentzRotation.h:286
ThePEG::LorentzRotation::s1s3
Complex s1s3() const
The component.
Definition:
LorentzRotation.h:309
ThePEG::LorentzRotation::s1s1
Complex s1s1() const
The component.
Definition:
LorentzRotation.h:299
ThePEG::LorentzRotation::zt
double zt() const
The zt component.
Definition:
LorentzRotation.h:271
ThePEG::LorentzRotation::boostX
LorentzRotation & boostX(double beta)
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
LorentzRotation.h:463
ThePEG::LorentzRotation::ty
double ty() const
The ty component.
Definition:
LorentzRotation.h:281
ThePEG::LorentzRotation::xy
double xy() const
The xy component.
Definition:
LorentzRotation.h:221
ThePEG::LorentzRotation::tx
double tx() const
The tx component.
Definition:
LorentzRotation.h:276
ThePEG::LorentzRotation::setBoost
LorentzRotation & setBoost(const Boost &b, double gamma=-1.)
Specify a Lorentz Boost as a vector.
Definition:
LorentzRotation.h:113
ThePEG::LorentzRotation::setBoostX
LorentzRotation & setBoostX(double boost)
Specify a boost by the given factor along the x-axis.
Definition:
LorentzRotation.h:123
ThePEG::LorentzRotation::s2s4
Complex s2s4() const
The component.
Definition:
LorentzRotation.h:334
ThePEG::LorentzRotation::setBoostY
LorentzRotation & setBoostY(double boost)
Specify a boost by the given factor along the y-axis.
Definition:
LorentzRotation.h:133
ThePEG::LorentzRotation::s4s3
Complex s4s3() const
The component.
Definition:
LorentzRotation.h:369
ThePEG::LorentzRotation::operator*
LorentzVector< Value > operator*(const LorentzVector< Value > &lv) const
Product with a LorentzVector simply returns the rotated vector.
Definition:
LorentzRotation.h:386
ThePEG::LorentzRotation::_half
SpinHalfLorentzRotation _half
The spin- rotation.
Definition:
LorentzRotation.h:517
ThePEG::LorentzRotation::s3s1
Complex s3s1() const
The component.
Definition:
LorentzRotation.h:339
ThePEG::LorentzRotation::yx
double yx() const
The yx component.
Definition:
LorentzRotation.h:236
ThePEG::LorentzRotation::operator*
Lorentz5Vector< Value > operator*(const Lorentz5Vector< Value > &lv) const
Product with a Lorentz5Vector simply returns the rotated vector.
Definition:
LorentzRotation.h:393
ThePEG::LorentzRotation::setRotateY
LorentzRotation & setRotateY(double angle)
Specify a rotation by the given angle about the y-axis.
Definition:
LorentzRotation.h:174
ThePEG::LorentzRotation::setBoostZ
LorentzRotation & setBoostZ(double boost)
Specify a boost by the given factor along the z-axis.
Definition:
LorentzRotation.h:143
ThePEG::LorentzRotation::rotateX
LorentzRotation & rotateX(double delta)
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
Definition:
LorentzRotation.h:427
ThePEG::LorentzRotation::LorentzRotation
LorentzRotation()
Default constructor.
Definition:
LorentzRotation.h:42
ThePEG::LorentzRotation::isIdentity
bool isIdentity() const
Returns true if the Identity matrix.
Definition:
LorentzRotation.h:66
ThePEG::LorentzRotation::s3s3
Complex s3s3() const
The component.
Definition:
LorentzRotation.h:349
ThePEG::LorentzRotation::boostZ
LorentzRotation & boostZ(double beta)
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
LorentzRotation.h:481
ThePEG::LorentzRotation::LorentzRotation
LorentzRotation(const Boost &b, double gamma=-1.)
Constructor giving the vector for a Lorentz boost.
Definition:
LorentzRotation.h:59
ThePEG::LorentzRotation::setRotateZ
LorentzRotation & setRotateZ(double angle)
Specify a rotation by the given angle about the z-axis.
Definition:
LorentzRotation.h:184
ThePEG::LorentzRotation::zz
double zz() const
The zz component.
Definition:
LorentzRotation.h:266
ThePEG::LorentzRotation::one
const SpinOneLorentzRotation & one() const
The spin-1 transformation.
Definition:
LorentzRotation.h:202
ThePEG::LorentzRotation::boost
LorentzRotation & boost(double bx, double by, double bz, double gamma=-1.)
boost equivalent to LT = Boost(bx,by,bz) * LT
Definition:
LorentzRotation.h:494
ThePEG::LorentzRotation::rotateZ
LorentzRotation & rotateZ(double delta)
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT.
Definition:
LorentzRotation.h:445
ThePEG::LorentzRotation::boostY
LorentzRotation & boostY(double beta)
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
LorentzRotation.h:472
ThePEG::LorentzRotation::setBoost
LorentzRotation & setBoost(double bx, double by, double bz, double gamma=-1.)
Specify the components of a Lorentz Boost.
Definition:
LorentzRotation.h:102
ThePEG::LorentzRotation::s2s2
Complex s2s2() const
The component.
Definition:
LorentzRotation.h:324
ThePEG::LorentzRotation::s3s4
Complex s3s4() const
The component.
Definition:
LorentzRotation.h:354
ThePEG::LorentzRotation::print
std::ostream & print(std::ostream &os) const
output operator
ThePEG::LorentzRotation::invert
LorentzRotation & invert()
Inverts the LorentzRotation matrix.
Definition:
LorentzRotation.h:83
ThePEG::LorentzRotation::yy
double yy() const
The yy component.
Definition:
LorentzRotation.h:241
ThePEG::LorentzRotation::xt
double xt() const
The xt component.
Definition:
LorentzRotation.h:231
ThePEG::LorentzRotation::setRotateX
LorentzRotation & setRotateX(double angle)
Specify a rotation by the given angle about the x-axis.
Definition:
LorentzRotation.h:164
ThePEG::LorentzRotation::s4s2
Complex s4s2() const
The component.
Definition:
LorentzRotation.h:364
ThePEG::LorentzRotation::half
const SpinHalfLorentzRotation & half() const
The spin- transformation.
Definition:
LorentzRotation.h:197
ThePEG::LorentzRotation::_one
SpinOneLorentzRotation _one
The spin-1 rotation.
Definition:
LorentzRotation.h:522
ThePEG::LorentzRotation::s2s1
Complex s2s1() const
The component.
Definition:
LorentzRotation.h:319
ThePEG::LorentzRotation::s1s4
Complex s1s4() const
The component.
Definition:
LorentzRotation.h:314
ThePEG::LorentzRotation::boost
LorentzRotation & boost(const Boost &bv, double gamma=-1.)
boost equivalent to LT = Boost(bv) * LT
Definition:
LorentzRotation.h:505
ThePEG::LorentzRotation::rotate
LorentzRotation & rotate(double delta, const Axis &axis)
Rotation around specified vector - LT = Rotation(delta,axis)*LT.
Definition:
LorentzRotation.h:454
ThePEG::LorentzRotation::rotateY
LorentzRotation & rotateY(double delta)
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
Definition:
LorentzRotation.h:436
ThePEG::LorentzRotation::LorentzRotation
LorentzRotation(double bx, double by, double bz, double gamma=-1.)
Constructor giving the components of a Lorentz boost.
Definition:
LorentzRotation.h:51
ThePEG::LorentzRotation::inverseOf
friend LorentzRotation inverseOf(const LorentzRotation <)
The external inverseOf needs to be a friend.
Definition:
LorentzRotation.h:529
ThePEG::LorentzRotation::s4s1
Complex s4s1() const
The component.
Definition:
LorentzRotation.h:359
ThePEG::LorentzRotation::yt
double yt() const
The yt component.
Definition:
LorentzRotation.h:251
ThePEG::LorentzRotation::setRotate
LorentzRotation & setRotate(double delta, const Axis &axis)
Specify a rotation about a general axis by the angle given.
Definition:
LorentzRotation.h:154
ThePEG::LorentzRotation::s3s2
Complex s3s2() const
The component.
Definition:
LorentzRotation.h:344
ThePEG::LorentzRotation::tt
double tt() const
The tt component.
Definition:
LorentzRotation.h:291
ThePEG::LorentzRotation::operator*=
LorentzRotation & operator*=(const LorentzRotation <)
Multiply by and assign a*=b becomes a= a*b.
Definition:
LorentzRotation.h:409
ThePEG::LorentzRotation::zx
double zx() const
The zx component.
Definition:
LorentzRotation.h:256
ThePEG::LorentzRotation::inverse
LorentzRotation inverse() const
Return the inverse.
Definition:
LorentzRotation.h:73
ThePEG::LorentzVector
A 4-component Lorentz vector.
Definition:
LorentzVector.h:44
ThePEG::SpinHalfLorentzRotation
The SpinHalfLorentzRotation class is designed to offer the same features as the HepLorentzRotation cl...
Definition:
SpinHalfLorentzRotation.h:31
ThePEG::SpinHalfLorentzRotation::s4s1
Complex s4s1() const
The component.
Definition:
SpinHalfLorentzRotation.h:215
ThePEG::SpinHalfLorentzRotation::s4s3
Complex s4s3() const
The component.
Definition:
SpinHalfLorentzRotation.h:225
ThePEG::SpinHalfLorentzRotation::boostZ
SpinHalfLorentzRotation & boostZ(double beta)
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
ThePEG::SpinHalfLorentzRotation::inverse
SpinHalfLorentzRotation inverse() const
Return the inverse.
ThePEG::SpinHalfLorentzRotation::setRotateX
SpinHalfLorentzRotation & setRotateX(double &angle)
Specify a rotation by the given angle about the x-axis.
ThePEG::SpinHalfLorentzRotation::s2s3
Complex s2s3() const
The component.
Definition:
SpinHalfLorentzRotation.h:185
ThePEG::SpinHalfLorentzRotation::s4s4
Complex s4s4() const
The component.
Definition:
SpinHalfLorentzRotation.h:230
ThePEG::SpinHalfLorentzRotation::transform
SpinHalfLorentzRotation & transform(const SpinHalfLorentzRotation &)
Transform (similar to *= but a.transform(b) becomes a = b*a.
ThePEG::SpinHalfLorentzRotation::s2s1
Complex s2s1() const
The component.
Definition:
SpinHalfLorentzRotation.h:175
ThePEG::SpinHalfLorentzRotation::isIdentity
bool isIdentity() const
Returns true if the Identity matrix.
ThePEG::SpinHalfLorentzRotation::s1s1
Complex s1s1() const
The component.
Definition:
SpinHalfLorentzRotation.h:155
ThePEG::SpinHalfLorentzRotation::s4s2
Complex s4s2() const
The component.
Definition:
SpinHalfLorentzRotation.h:220
ThePEG::SpinHalfLorentzRotation::s1s3
Complex s1s3() const
The component.
Definition:
SpinHalfLorentzRotation.h:165
ThePEG::SpinHalfLorentzRotation::rotateX
SpinHalfLorentzRotation & rotateX(double delta)
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
ThePEG::SpinHalfLorentzRotation::s3s4
Complex s3s4() const
The component.
Definition:
SpinHalfLorentzRotation.h:210
ThePEG::SpinHalfLorentzRotation::s2s2
Complex s2s2() const
The component.
Definition:
SpinHalfLorentzRotation.h:180
ThePEG::SpinHalfLorentzRotation::setBoost
SpinHalfLorentzRotation & setBoost(double bx, double by, double bz, double gamma=-1.)
Specify the components of a Lorentz Boost.
ThePEG::SpinHalfLorentzRotation::rotateY
SpinHalfLorentzRotation & rotateY(double delta)
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
ThePEG::SpinHalfLorentzRotation::setRotate
SpinHalfLorentzRotation & setRotate(double delta, const Axis &axis)
Specify a rotation about a general axis by the angle given.
ThePEG::SpinHalfLorentzRotation::s1s2
Complex s1s2() const
The component.
Definition:
SpinHalfLorentzRotation.h:160
ThePEG::SpinHalfLorentzRotation::rotateZ
SpinHalfLorentzRotation & rotateZ(double delta)
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT.
ThePEG::SpinHalfLorentzRotation::s3s3
Complex s3s3() const
The component.
Definition:
SpinHalfLorentzRotation.h:205
ThePEG::SpinHalfLorentzRotation::setBoostX
SpinHalfLorentzRotation & setBoostX(double &boost)
Specify a boost by the given factor along the x-axis.
ThePEG::SpinHalfLorentzRotation::s1s4
Complex s1s4() const
The component.
Definition:
SpinHalfLorentzRotation.h:170
ThePEG::SpinHalfLorentzRotation::s3s2
Complex s3s2() const
The component.
Definition:
SpinHalfLorentzRotation.h:200
ThePEG::SpinHalfLorentzRotation::rotate
SpinHalfLorentzRotation & rotate(double delta, const Axis &axis)
Rotation around specified vector - LT = Rotation(delta,axis)*LT.
ThePEG::SpinHalfLorentzRotation::boost
SpinHalfLorentzRotation & boost(double bx, double by, double bz, double gamma=-1.)
General boost equivalent to LT = Boost(bx,by,bz) * LT.
ThePEG::SpinHalfLorentzRotation::boostX
SpinHalfLorentzRotation & boostX(double beta)
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT.
ThePEG::SpinHalfLorentzRotation::setRotateZ
SpinHalfLorentzRotation & setRotateZ(double &angle)
Specify a rotation by the given angle about the z-axis.
ThePEG::SpinHalfLorentzRotation::s2s4
Complex s2s4() const
The component.
Definition:
SpinHalfLorentzRotation.h:190
ThePEG::SpinHalfLorentzRotation::boostY
SpinHalfLorentzRotation & boostY(double beta)
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT.
ThePEG::SpinHalfLorentzRotation::setBoostY
SpinHalfLorentzRotation & setBoostY(double &boost)
Specify a boost by the given factor along the y-axis.
ThePEG::SpinHalfLorentzRotation::setBoostZ
SpinHalfLorentzRotation & setBoostZ(double &boost)
Specify a boost by the given factor along the z-axis.
ThePEG::SpinHalfLorentzRotation::s3s1
Complex s3s1() const
The component.
Definition:
SpinHalfLorentzRotation.h:195
ThePEG::SpinOneLorentzRotation
The SpinOneLorentzRotation class is ...
Definition:
SpinOneLorentzRotation.h:25
ThePEG::SpinOneLorentzRotation::xx
double xx() const
The xx component.
Definition:
SpinOneLorentzRotation.h:135
ThePEG::SpinOneLorentzRotation::rotate
SpinOneLorentzRotation & rotate(double delta, const Axis &axis)
Rotation around specified vector - LT = Rotation(delta,axis)*LT.
Definition:
SpinOneLorentzRotation.h:292
ThePEG::SpinOneLorentzRotation::isIdentity
bool isIdentity() const
Returns true if the Identity matrix.
ThePEG::SpinOneLorentzRotation::setRotateX
SpinOneLorentzRotation & setRotateX(double angle)
Specify a rotation by the given angle about the x-axis.
ThePEG::SpinOneLorentzRotation::rotateY
SpinOneLorentzRotation & rotateY(double delta)
Rotation around the y-axis; equivalent to LT = RotationY(delta) * LT.
Definition:
SpinOneLorentzRotation.h:274
ThePEG::SpinOneLorentzRotation::transform
SpinOneLorentzRotation & transform(const SpinOneLorentzRotation <)
Transform (similar to *= but a.transform(b) becomes a = b*a.
Definition:
SpinOneLorentzRotation.h:258
ThePEG::SpinOneLorentzRotation::yx
double yx() const
The yx component.
Definition:
SpinOneLorentzRotation.h:155
ThePEG::SpinOneLorentzRotation::zz
double zz() const
The zz component.
Definition:
SpinOneLorentzRotation.h:185
ThePEG::SpinOneLorentzRotation::xz
double xz() const
The xz component.
Definition:
SpinOneLorentzRotation.h:145
ThePEG::SpinOneLorentzRotation::rotateZ
SpinOneLorentzRotation & rotateZ(double delta)
Rotation around the z-axis; equivalent to LT = RotationZ(delta) * LT.
Definition:
SpinOneLorentzRotation.h:283
ThePEG::SpinOneLorentzRotation::zx
double zx() const
The zx component.
Definition:
SpinOneLorentzRotation.h:175
ThePEG::SpinOneLorentzRotation::boostY
SpinOneLorentzRotation & boostY(double beta)
Pure boost along the y-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
SpinOneLorentzRotation.h:308
ThePEG::SpinOneLorentzRotation::ty
double ty() const
The ty component.
Definition:
SpinOneLorentzRotation.h:200
ThePEG::SpinOneLorentzRotation::xy
double xy() const
The xy component.
Definition:
SpinOneLorentzRotation.h:140
ThePEG::SpinOneLorentzRotation::zy
double zy() const
The zy component.
Definition:
SpinOneLorentzRotation.h:180
ThePEG::SpinOneLorentzRotation::tz
double tz() const
The tz component.
Definition:
SpinOneLorentzRotation.h:205
ThePEG::SpinOneLorentzRotation::xt
double xt() const
The xt component.
Definition:
SpinOneLorentzRotation.h:150
ThePEG::SpinOneLorentzRotation::tt
double tt() const
The tt component.
Definition:
SpinOneLorentzRotation.h:210
ThePEG::SpinOneLorentzRotation::inverse
SpinOneLorentzRotation inverse() const
Return the inverse.
ThePEG::SpinOneLorentzRotation::setRotate
SpinOneLorentzRotation & setRotate(double delta, const Axis &axis)
Specify a rotation about a general axis by the angle given.
ThePEG::SpinOneLorentzRotation::zt
double zt() const
The zt component.
Definition:
SpinOneLorentzRotation.h:190
ThePEG::SpinOneLorentzRotation::yy
double yy() const
The yy component.
Definition:
SpinOneLorentzRotation.h:160
ThePEG::SpinOneLorentzRotation::yz
double yz() const
The yz component.
Definition:
SpinOneLorentzRotation.h:165
ThePEG::SpinOneLorentzRotation::boostX
SpinOneLorentzRotation & boostX(double beta)
Pure boost along the x-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
SpinOneLorentzRotation.h:301
ThePEG::SpinOneLorentzRotation::rotateX
SpinOneLorentzRotation & rotateX(double delta)
Rotation around the x-axis; equivalent to LT = RotationX(delta) * LT.
Definition:
SpinOneLorentzRotation.h:265
ThePEG::SpinOneLorentzRotation::yt
double yt() const
The yt component.
Definition:
SpinOneLorentzRotation.h:170
ThePEG::SpinOneLorentzRotation::setBoost
SpinOneLorentzRotation & setBoost(double bx, double by, double bz, double gamma=-1.)
Specify the components of a Lorentz Boost.
ThePEG::SpinOneLorentzRotation::boost
SpinOneLorentzRotation & boost(double bx, double by, double bz, double gamma=-1.)
boost equivalent to LT = Boost(bx,by,bz) * LT
Definition:
SpinOneLorentzRotation.h:326
ThePEG::SpinOneLorentzRotation::tx
double tx() const
The tx component.
Definition:
SpinOneLorentzRotation.h:195
ThePEG::SpinOneLorentzRotation::setRotateZ
SpinOneLorentzRotation & setRotateZ(double angle)
Specify a rotation by the given angle about the z-axis.
ThePEG::SpinOneLorentzRotation::boostZ
SpinOneLorentzRotation & boostZ(double beta)
Pure boost along the z-axis; equivalent to LT = BoostX(beta) * LT.
Definition:
SpinOneLorentzRotation.h:315
ThePEG::ThreeVector
A 3-component vector.
Definition:
ThreeVector.h:35
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::Complex
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition:
Complex.h:23
ThePEG::operator<<
vector< T > & operator<<(vector< T > &tv, const U &u)
Overload the left shift operator for vector to push_back objects to a vector.
Definition:
Containers.h:179
ThePEG::inverseOf
LorentzRotation inverseOf(const LorentzRotation <)
Global method to get the inverse.
Definition:
LorentzRotation.h:529
Generated on Thu Jun 20 2024 14:47:02 for ThePEG by
1.9.6