#include <G4tgbRotationMatrix.hh>
Definition at line 52 of file G4tgbRotationMatrix.hh.
◆ G4tgbRotationMatrix() [1/2]
G4tgbRotationMatrix::G4tgbRotationMatrix |
( |
| ) |
|
◆ ~G4tgbRotationMatrix()
G4tgbRotationMatrix::~G4tgbRotationMatrix |
( |
| ) |
|
◆ G4tgbRotationMatrix() [2/2]
◆ BuildG4RotMatrix()
Definition at line 63 of file G4tgbRotationMatrix.cc.
67 if( values.size() == 3 ) {
69 }
else if( values.size() == 6 ) {
71 }
else if( values.size() == 9 ) {
76 G4String ErrMessage =
"Number of values is: " 78 +
G4String(
". It should be 3, 6, or 9 !");
79 G4Exception(
"G4tgbRotationMatrix::BuildG4RotMatrix()",
G4tgrRotationMatrix * theTgrRM
static G4String ConvertToString(G4bool boolVal)
std::vector< G4double > & GetValues()
G4RotationMatrix * BuildG4RotMatrixFrom3(std::vector< G4double > &values)
G4RotationMatrix * BuildG4RotMatrixFrom9(std::vector< G4double > &values)
G4RotationMatrix * BuildG4RotMatrixFrom6(std::vector< G4double > &values)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ BuildG4RotMatrixFrom3()
Definition at line 88 of file G4tgbRotationMatrix.cc.
99 G4cout <<
" Constructing new G4RotationMatrix from 3 numbers " HepRotation & rotateX(double delta)
CLHEP::HepRotation G4RotationMatrix
HepRotation & rotateY(double delta)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
HepRotation & rotateZ(double delta)
◆ BuildG4RotMatrixFrom6()
Definition at line 110 of file G4tgbRotationMatrix.cc.
121 std::sin(thetaX)*std::sin(phiX),std::cos(thetaX));
123 std::sin(thetaY)*std::sin(phiY),std::cos(thetaY));
125 std::sin(thetaZ)*std::sin(phiZ),std::cos(thetaZ));
131 G4Rep3x3 rottemp(colx.x(),coly.x(),colz.x(),
132 colx.y(),coly.y(),colz.y(),
133 colx.z(),coly.z(),colz.z());
140 G4cout <<
" Constructing new G4RotationMatrix from 6 numbers "
CLHEP::HepRotation G4RotationMatrix
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
◆ BuildG4RotMatrixFrom9()
Definition at line 150 of file G4tgbRotationMatrix.cc.
161 G4Rep3x3 rottemp(colx.x(),coly.x(),colz.x(),
162 colx.y(),coly.y(),colz.y(),
163 colx.z(),coly.z(),colz.z());
170 G4cout <<
" Constructing new G4RotationMatrix from 9 numbers "
CLHEP::HepRotation G4RotationMatrix
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
◆ GetName()
G4String G4tgbRotationMatrix::GetName |
( |
void |
| ) |
|
|
inline |
◆ theTgrRM
The documentation for this class was generated from the following files: