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
14namespace CLHEP {
15
17 pp.rotate(a,v1);
18 return *this;
19}
20
22 double ddelta ) {
23 pp.rotate (aaxis, ddelta);
24 return *this;
25}
26
28 pp.rotate (ax);
29 return *this;
30}
31
33 pp.rotate (e1);
34 return *this;
35}
36
38 double theta1,
39 double psi1 ) {
40 pp.rotate (phi1, theta1, psi1);
41 return *this;
42}
43
45 const Hep3Vector & aaxis,
46 double ddelta) {
47 HepLorentzVector vv (vec);
48 return vv.rotate (aaxis, ddelta);
49}
50
52 (const HepLorentzVector & vec, const HepAxisAngle &ax ) {
53 HepLorentzVector vv (vec);
54 return vv.rotate (ax);
55}
56
58 (const HepLorentzVector & vec, const HepEulerAngles &e1 ) {
59 HepLorentzVector vv (vec);
60 return vv.rotate (e1);
61}
62
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
Hep3Vector & rotate(double, const Hep3Vector &)
Definition: ThreeVectorR.cc:25
HepLorentzVector & rotate(double, const Hep3Vector &)
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &aaxis, double ddelta)