65 std::vector<G4double> values = theTgrRM->
GetValues();
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()",
99 G4cout <<
" Constructing new G4RotationMatrix from 3 numbers "
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));
132 colx.
y(),coly.
y(),colz.
y(),
133 colx.
z(),coly.
z(),colz.
z());
140 G4cout <<
" Constructing new G4RotationMatrix from 6 numbers "
162 colx.
y(),coly.
y(),colz.
y(),
163 colx.
z(),coly.
z(),colz.
z());
170 G4cout <<
" Constructing new G4RotationMatrix from 9 numbers "