CLHEP
2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
LorentzVectorR.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
// ---------------------------------------------------------------------------
3
//
4
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
5
//
6
// This is part of the implementation of the HepLorentzVector class:
7
// Those methods which might, if coded in LorentzVector.cc, force loading
8
// of the Rotation.cc code module.
9
//
10
11
#include "CLHEP/Vector/defs.h"
12
#include "CLHEP/Vector/LorentzVector.h"
13
14
namespace
CLHEP
{
15
16
HepLorentzVector
&
HepLorentzVector::rotate
(
double
a,
const
Hep3Vector
&v1) {
17
pp.
rotate
(a,v1);
18
return
*
this
;
19
}
20
21
HepLorentzVector
&
HepLorentzVector::rotate
(
const
Hep3Vector
& aaxis,
22
double
ddelta ) {
23
pp.
rotate
(aaxis, ddelta);
24
return
*
this
;
25
}
26
27
HepLorentzVector
&
HepLorentzVector::rotate
(
const
HepAxisAngle
& ax ) {
28
pp.
rotate
(ax);
29
return
*
this
;
30
}
31
32
HepLorentzVector
&
HepLorentzVector::rotate
(
const
HepEulerAngles
& e1 ) {
33
pp.
rotate
(e1);
34
return
*
this
;
35
}
36
37
HepLorentzVector
&
HepLorentzVector::rotate
(
double
phi1,
38
double
theta1,
39
double
psi1 ) {
40
pp.
rotate
(phi1, theta1, psi1);
41
return
*
this
;
42
}
43
44
HepLorentzVector
rotationOf
(
const
HepLorentzVector
& vec,
45
const
Hep3Vector
& aaxis,
46
double
ddelta) {
47
HepLorentzVector
vv (vec);
48
return
vv.
rotate
(aaxis, ddelta);
49
}
50
51
HepLorentzVector
rotationOf
52
(
const
HepLorentzVector
& vec,
const
HepAxisAngle
&ax ) {
53
HepLorentzVector
vv (vec);
54
return
vv.
rotate
(ax);
55
}
56
57
HepLorentzVector
rotationOf
58
(
const
HepLorentzVector
& vec,
const
HepEulerAngles
&e1 ) {
59
HepLorentzVector
vv (vec);
60
return
vv.
rotate
(e1);
61
}
62
63
HepLorentzVector
rotationOf
(
const
HepLorentzVector
& vec,
64
double
phi1,
65
double
theta1,
66
double
psi1) {
67
HepLorentzVector
vv (vec);
68
return
vv.
rotate
(phi1, theta1, psi1);
69
}
70
71
}
// namespace CLHEP
CLHEP::Hep3Vector
Definition:
ThreeVector.h:36
CLHEP::Hep3Vector::rotate
Hep3Vector & rotate(double, const Hep3Vector &)
Definition:
ThreeVectorR.cc:25
CLHEP::HepAxisAngle
Definition:
AxisAngle.h:37
CLHEP::HepEulerAngles
Definition:
EulerAngles.h:32
CLHEP::HepLorentzVector
Definition:
LorentzVector.h:68
CLHEP::HepLorentzVector::rotate
HepLorentzVector & rotate(double, const Hep3Vector &)
Definition:
LorentzVectorR.cc:16
CLHEP
Definition:
DiagMatrix.h:23
CLHEP::rotationOf
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &aaxis, double ddelta)
Definition:
LorentzVectorR.cc:44
CLHEP-CLHEP_2_4_6_4
Vector
src
LorentzVectorR.cc
Generated by
1.9.6