G3toG4RotationMatrix Class Reference

#include <G3toG4RotationMatrix.hh>


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 ()


Detailed Description

Definition at line 47 of file G3toG4RotationMatrix.hh.


Constructor & Destructor Documentation

G3toG4RotationMatrix::G3toG4RotationMatrix (  ) 

Definition at line 31 of file G3toG4RotationMatrix.cc.

00032 {
00033   rxx = 1;
00034   ryx = 0;
00035   rzx = 0;
00036   rxy = 0;
00037   ryy = 1;
00038   rzy = 0;
00039   rxz = 0;
00040   ryz = 0;
00041   rzz = 1;
00042 }

G3toG4RotationMatrix::~G3toG4RotationMatrix (  ) 

Definition at line 44 of file G3toG4RotationMatrix.cc.

00045 {
00046     ;
00047 }


Member Function Documentation

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

Definition at line 50 of file G3toG4RotationMatrix.cc.

00053 {
00054   rxx = cl1.x();
00055   ryx = cl1.y();
00056   rzx = cl1.z();
00057   
00058   rxy = cl2.x();
00059   ryy = cl2.y();
00060   rzy = cl2.z();
00061   
00062   rxz = cl3.x();
00063   ryz = cl3.y();
00064   rzz = cl3.z();
00065   
00066 }

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

Definition at line 69 of file G3toG4RotationMatrix.cc.

Referenced by G4gsrotm().

00072 {
00073   rxx = rw1.x();
00074   rxy = rw1.y();
00075   rxz = rw1.z();
00076   
00077   ryx = rw2.x();
00078   ryy = rw2.y();
00079   ryz = rw2.z();
00080   
00081   rzx = rw3.x();
00082   rzy = rw3.y();
00083   rzz = rw3.z();
00084   
00085 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:23 2013 for Geant4 by  doxygen 1.4.7