ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ThreeVectorR.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ThreeVectorR.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 the implementation of those methods of the Hep3Vector class which
7
// require linking of the HepRotation class. These methods have been broken
8
// out of ThreeVector.cc.
9
//
10
11
#ifdef GNUPRAGMA
12
#pragma implementation
13
#endif
14
15
#include "
CLHEP/Vector/ThreeVector.h
"
16
#include "
CLHEP/Vector/Rotation.h
"
17
18
namespace
CLHEP {
19
20
Hep3Vector
&
Hep3Vector::operator *=
(
const
HepRotation
& m1) {
21
return
*
this
= m1 * (*this);
22
}
23
24
Hep3Vector
&
Hep3Vector::transform
(
const
HepRotation
& m1) {
25
return
*
this
= m1 * (*this);
26
}
27
28
Hep3Vector
&
Hep3Vector::rotate
(
double
angle1,
const
Hep3Vector
& aaxis){
29
HepRotation
trans;
30
trans.
rotate
(angle1, aaxis);
31
operator*=
(trans);
32
return
*
this
;
33
}
34
35
}
// namespace CLHEP
geant4
tree
geant4-10.6-release
source
externals
clhep
src
ThreeVectorR.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:15
using
1.8.2 with
ECCE GitHub integration