Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
source
externals
clhep
src
LorentzVectorR.cc
이 파일의 문서화 페이지로 가기
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
a
std::vector< ExP01TrackerHit * > a
Definition:
ExP01Classes.hh:33
CLHEP::HepAxisAngle
Definition:
AxisAngle.h:36
CLHEP::HepLorentzVector::pp
Hep3Vector pp
Definition:
LorentzVector.h:527
CLHEP::HepEulerAngles
Definition:
EulerAngles.h:39
LorentzVector.h
CLHEP::Hep3Vector::rotate
Hep3Vector & rotate(double, const Hep3Vector &)
Definition:
ThreeVectorR.cc:28
CLHEP::rotationOf
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &axis, double delta)
Definition:
LorentzVectorR.cc:47
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
CLHEP::HepLorentzVector
Definition:
LorentzVector.h:72
CLHEP::HepLorentzVector::rotate
HepLorentzVector & rotate(double, const Hep3Vector &)
Definition:
LorentzVectorR.cc:19
다음에 의해 생성됨 :
1.8.5