Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G3toG4RotationMatrix Class Reference

#include <G3toG4RotationMatrix.hh>

Inheritance diagram for G3toG4RotationMatrix:

Public Member Functions

 G3toG4RotationMatrix ()
void SetRotationMatrixByCol (const G4ThreeVector &Col1, const G4ThreeVector &Col2, const G4ThreeVector &Col3)
void SetRotationMatrixByRow (const G4ThreeVector &Row1, const G4ThreeVector &Row2, const G4ThreeVector &Row3)
 ~G3toG4RotationMatrix ()
Public Member Functions inherited from CLHEP::HepRotation
 HepRotation ()
 HepRotation (const HepRotation &m)
 HepRotation (HepRotation &&m)=default
 HepRotation (const HepRotationX &m)
 HepRotation (const HepRotationY &m)
 HepRotation (const HepRotationZ &m)
HepRotationset (const Hep3Vector &axis, double delta)
 HepRotation (const Hep3Vector &axis, double delta)
HepRotationset (const HepAxisAngle &ax)
 HepRotation (const HepAxisAngle &ax)
HepRotationset (double phi, double theta, double psi)
 HepRotation (double phi, double theta, double psi)
HepRotationset (const HepEulerAngles &e)
 HepRotation (const HepEulerAngles &e)
 HepRotation (const Hep3Vector &colX, const Hep3Vector &colY, const Hep3Vector &colZ)
HepRotationset (const Hep3Vector &colX, const Hep3Vector &colY, const Hep3Vector &colZ)
HepRotationsetRows (const Hep3Vector &rowX, const Hep3Vector &rowY, const Hep3Vector &rowZ)
HepRotationset (const HepRotationX &r)
HepRotationset (const HepRotationY &r)
HepRotationset (const HepRotationZ &r)
HepRotationoperator= (const HepRotation &r)
HepRotationoperator= (HepRotation &&r)=default
HepRotationoperator= (const HepRotationX &r)
HepRotationoperator= (const HepRotationY &r)
HepRotationoperator= (const HepRotationZ &r)
HepRotationset (const HepRep3x3 &m)
 HepRotation (const HepRep3x3 &m)
 ~HepRotation ()
Hep3Vector colX () const
Hep3Vector colY () const
Hep3Vector colZ () const
Hep3Vector rowX () const
Hep3Vector rowY () const
Hep3Vector rowZ () const
double xx () const
double xy () const
double xz () const
double yx () const
double yy () const
double yz () const
double zx () const
double zy () const
double zz () const
HepRep3x3 rep3x3 () const
const HepRotation_row operator[] (int) const
double operator() (int, int) const
double getPhi () const
double getTheta () const
double getPsi () const
double phi () const
double theta () const
double psi () const
HepEulerAngles eulerAngles () const
double getDelta () const
Hep3Vector getAxis () const
double delta () const
Hep3Vector axis () const
HepAxisAngle axisAngle () const
void getAngleAxis (double &delta, Hep3Vector &axis) const
double phiX () const
double phiY () const
double phiZ () const
double thetaX () const
double thetaY () const
double thetaZ () const
HepLorentzVector col1 () const
HepLorentzVector col2 () const
HepLorentzVector col3 () const
HepLorentzVector col4 () const
HepLorentzVector row1 () const
HepLorentzVector row2 () const
HepLorentzVector row3 () const
HepLorentzVector row4 () const
double xt () const
double yt () const
double zt () const
double tx () const
double ty () const
double tz () const
double tt () const
HepRep4x4 rep4x4 () const
void setPhi (double phi)
void setTheta (double theta)
void setPsi (double psi)
void setAxis (const Hep3Vector &axis)
void setDelta (double delta)
void decompose (HepAxisAngle &rotation, Hep3Vector &boost) const
void decompose (Hep3Vector &boost, HepAxisAngle &rotation) const
bool isIdentity () const
int compare (const HepRotation &r) const
bool operator== (const HepRotation &r) const
bool operator!= (const HepRotation &r) const
bool operator< (const HepRotation &r) const
bool operator> (const HepRotation &r) const
bool operator<= (const HepRotation &r) const
bool operator>= (const HepRotation &r) const
double distance2 (const HepRotation &r) const
double howNear (const HepRotation &r) const
bool isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const
double distance2 (const HepBoost &lt) const
double distance2 (const HepLorentzRotation &lt) const
double howNear (const HepBoost &lt) const
double howNear (const HepLorentzRotation &lt) const
bool isNear (const HepBoost &lt, double epsilon=Hep4RotationInterface::tolerance) const
bool isNear (const HepLorentzRotation &lt, double epsilon=Hep4RotationInterface::tolerance) const
double norm2 () const
void rectify ()
Hep3Vector operator() (const Hep3Vector &p) const
Hep3Vector operator* (const Hep3Vector &p) const
HepLorentzVector operator() (const HepLorentzVector &w) const
HepLorentzVector operator* (const HepLorentzVector &w) const
HepRotation operator* (const HepRotation &r) const
HepRotation operator* (const HepRotationX &rx) const
HepRotation operator* (const HepRotationY &ry) const
HepRotation operator* (const HepRotationZ &rz) const
HepRotationoperator*= (const HepRotation &r)
HepRotationtransform (const HepRotation &r)
HepRotationoperator*= (const HepRotationX &r)
HepRotationoperator*= (const HepRotationY &r)
HepRotationoperator*= (const HepRotationZ &r)
HepRotationtransform (const HepRotationX &r)
HepRotationtransform (const HepRotationY &r)
HepRotationtransform (const HepRotationZ &r)
HepRotationrotateX (double delta)
HepRotationrotateY (double delta)
HepRotationrotateZ (double delta)
HepRotationrotate (double delta, const Hep3Vector &axis)
HepRotationrotate (double delta, const Hep3Vector *axis)
HepRotationrotateAxes (const Hep3Vector &newX, const Hep3Vector &newY, const Hep3Vector &newZ)
HepRotation inverse () const
HepRotationinvert ()
std::ostream & print (std::ostream &os) const

Additional Inherited Members

Static Public Member Functions inherited from CLHEP::HepRotation
static double getTolerance ()
static double setTolerance (double tol)
Static Public Attributes inherited from CLHEP::HepRotation
static DLL_API const HepRotation IDENTITY
Protected Member Functions inherited from CLHEP::HepRotation
 HepRotation (double mxx, double mxy, double mxz, double myx, double myy, double myz, double mzx, double mzy, double mzz)
Protected Attributes inherited from CLHEP::HepRotation
double rxx
double rxy
double rxz
double ryx
double ryy
double ryz
double rzx
double rzy
double rzz

Detailed Description

Definition at line 46 of file G3toG4RotationMatrix.hh.

Constructor & Destructor Documentation

◆ G3toG4RotationMatrix()

G3toG4RotationMatrix::G3toG4RotationMatrix ( )

Definition at line 30 of file G3toG4RotationMatrix.cc.

31{
32 rxx = 1;
33 ryx = 0;
34 rzx = 0;
35 rxy = 0;
36 ryy = 1;
37 rzy = 0;
38 rxz = 0;
39 ryz = 0;
40 rzz = 1;
41}

◆ ~G3toG4RotationMatrix()

G3toG4RotationMatrix::~G3toG4RotationMatrix ( )

Definition at line 43 of file G3toG4RotationMatrix.cc.

44{
45 ;
46}

Member Function Documentation

◆ SetRotationMatrixByCol()

void G3toG4RotationMatrix::SetRotationMatrixByCol ( const G4ThreeVector & Col1,
const G4ThreeVector & Col2,
const G4ThreeVector & Col3 )

Definition at line 49 of file G3toG4RotationMatrix.cc.

52{
53 rxx = cl1.x();
54 ryx = cl1.y();
55 rzx = cl1.z();
56
57 rxy = cl2.x();
58 ryy = cl2.y();
59 rzy = cl2.z();
60
61 rxz = cl3.x();
62 ryz = cl3.y();
63 rzz = cl3.z();
64
65}

◆ SetRotationMatrixByRow()

void G3toG4RotationMatrix::SetRotationMatrixByRow ( const G4ThreeVector & Row1,
const G4ThreeVector & Row2,
const G4ThreeVector & Row3 )

Definition at line 68 of file G3toG4RotationMatrix.cc.

71{
72 rxx = rw1.x();
73 rxy = rw1.y();
74 rxz = rw1.z();
75
76 ryx = rw2.x();
77 ryy = rw2.y();
78 ryz = rw2.z();
79
80 rzx = rw3.x();
81 rzy = rw3.y();
82 rzz = rw3.z();
83
84}

Referenced by G4gsrotm().


The documentation for this class was generated from the following files: