Handling Rotation Matrices

+-------------+                                               +----------##
| Geant 3.10  |               GEANT User's Guide              | GEOM200  ##
+-------------+                                               +----------##
                                   

Author(s) : R.Brun,F.Carena Submitted: 01.06.83 Origin : GEANT2 Revised: 30.05.86

+--------------------------------------------------------------------------+
|CALL GSROTM (IROT,THETA1,PHI1,THETA2,PHI2,THETA3,PHI3) |
+--------------------------------------------------------------------------+
                                  

Computes and stores the rotation matrix with serial number IROT in the data structure JROTM. (See notations and conventions in BASE 090).

THETA1
polar angle for axis I
PHI1
azimuthal angle for axis I
THETA2
polar angle for axis II
THI2
azimuthal angle for axis II
THETA3
polar angle for axis III
PHI3
azimuthal angle for axis III

Note : The angles THETA and PHI must be given in degrees.

Example 1 :

Axis I parallel to 1             THETA1 = 90.         PHI1 = 0.
Axis II parallel to 2      ----> THETA2 = 90.         PHI2 = 90.
Axis III parallel to 3           THETA3 =  0.         PHI3 = 0.

Example 2 :

Axis I parallel to 2             THETA1 = 90.         PHI1 = 90.
Axis II parallel to 3      ----> THETA2 =  0.         PHI2 = 0.
Axis III parallel to 1           THETA3 = 90.         PHI3 = 0.

                 +--------------------------------------+
                 |CALL GPROTM (IROT) |
                 +--------------------------------------+
                                  

Prints the rotation matrix elements and angles

IROT
for the rotation matrix IROT. (for all matrices if IROT=0)