Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
source
externals
clhep
src
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
#ifdef GNUPRAGMA
12
#pragma implementation
13
#endif
14
15
#include "
CLHEP/Vector/LorentzVector.h
"
16
17
namespace
CLHEP {
18
19
HepLorentzVector
&
HepLorentzVector::rotate
(
double
a
,
const
Hep3Vector
&v1) {
20
pp.
rotate
(a,v1);
21
return
*
this
;
22
}
23
24
HepLorentzVector
&
HepLorentzVector::rotate
(
const
Hep3Vector
& aaxis,
25
double
ddelta ) {
26
pp.
rotate
(aaxis, ddelta);
27
return
*
this
;
28
}
29
30
HepLorentzVector
&
HepLorentzVector::rotate
(
const
HepAxisAngle
& ax ) {
31
pp.
rotate
(ax);
32
return
*
this
;
33
}
34
35
HepLorentzVector
&
HepLorentzVector::rotate
(
const
HepEulerAngles
& e1 ) {
36
pp.
rotate
(e1);
37
return
*
this
;
38
}
39
40
HepLorentzVector
&
HepLorentzVector::rotate
(
double
phi1,
41
double
theta1,
42
double
psi1 ) {
43
pp.
rotate
(phi1, theta1, psi1);
44
return
*
this
;
45
}
46
47
HepLorentzVector
rotationOf
(
const
HepLorentzVector
& vec,
48
const
Hep3Vector
& aaxis,
49
double
ddelta) {
50
HepLorentzVector
vv (vec);
51
return
vv.
rotate
(aaxis, ddelta);
52
}
53
54
HepLorentzVector
rotationOf
55
(
const
HepLorentzVector
& vec,
const
HepAxisAngle
&ax ) {
56
HepLorentzVector
vv (vec);
57
return
vv.
rotate
(ax);
58
}
59
60
HepLorentzVector
rotationOf
61
(
const
HepLorentzVector
& vec,
const
HepEulerAngles
&e1 ) {
62
HepLorentzVector
vv (vec);
63
return
vv.
rotate
(e1);
64
}
65
66
HepLorentzVector
rotationOf
(
const
HepLorentzVector
& vec,
67
double
phi1,
68
double
theta1,
69
double
psi1) {
70
HepLorentzVector
vv (vec);
71
return
vv.
rotate
(phi1, theta1, psi1);
72
}
73
74
}
// namespace CLHEP
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
CLHEP::rotationOf
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &axis, double delta)
Definition:
LorentzVectorR.cc:47
CLHEP::HepAxisAngle
Definition:
AxisAngle.h:36
test.a
tuple a
Definition:
test.py:11
CLHEP::HepLorentzVector::rotate
HepLorentzVector & rotate(double, const Hep3Vector &)
Definition:
LorentzVectorR.cc:19
CLHEP::HepEulerAngles
Definition:
EulerAngles.h:39
LorentzVector.h
CLHEP::HepLorentzVector
Definition:
LorentzVector.h:72
CLHEP::Hep3Vector::rotate
Hep3Vector & rotate(double, const Hep3Vector &)
Definition:
ThreeVectorR.cc:28
Generated on Sat Dec 14 2013 14:34:03 for Geant4_10 by
1.8.5