51 G4gsrotm(irot, theta1,phi1, theta2,phi2, theta3,phi3);
69 G4ThreeVector x(std::sin(th1r)*std::cos(phi1r), std::sin(th1r)*std::sin(phi1r), std::cos(th1r));
70 G4ThreeVector y(std::sin(th2r)*std::cos(phi2r), std::sin(th2r)*std::sin(phi2r), std::cos(th2r));
71 G4ThreeVector z(std::sin(th3r)*std::cos(phi3r), std::sin(th3r)*std::sin(phi3r), std::cos(th3r));
78 if (1-std::abs(check)>tol) {
79 G4cerr <<
"Coordinate axes forming rotation matrix "
80 << irot <<
" are not orthonormal.(" << 1-std::abs(check) <<
")"
82 G4cerr <<
" theta1=" << theta1;
83 G4cerr <<
" phi1=" << phi1;
84 G4cerr <<
" theta2=" << theta2;
85 G4cerr <<
" phi2=" << phi2;
86 G4cerr <<
" theta3=" << theta3;
87 G4cerr <<
" phi3=" << phi3;
90 "Non orthogonal axes!");