Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
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 
16 
17 namespace CLHEP {
18 
20  pp.rotate(a,v1);
21  return *this;
22 }
23 
25  double ddelta ) {
26  pp.rotate (aaxis, ddelta);
27  return *this;
28 }
29 
31  pp.rotate (ax);
32  return *this;
33 }
34 
36  pp.rotate (e1);
37  return *this;
38 }
39 
41  double theta1,
42  double psi1 ) {
43  pp.rotate (phi1, theta1, psi1);
44  return *this;
45 }
46 
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 
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
std::vector< ExP01TrackerHit * > a
Definition: ExP01Classes.hh:33
Hep3Vector & rotate(double, const Hep3Vector &)
Definition: ThreeVectorR.cc:28
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &axis, double delta)
HepLorentzVector & rotate(double, const Hep3Vector &)