Routine ID: GEOM200 | |
---|---|
Author(s): | Submitted: 01.06.83 |
Origin: R.Brun, F.Carena | Revised: 14.12.93 |
The relative position of a volume inside its mother is expressed in GEANT by a translation vector and a rotation matrix which are arguments of the routines GSPOS and GSPOSP. The rotation matrix expresses the transformation from the Mother Reference System to the Daughter Reference System.
A rotation matrix is described to GEANT by giving the polar and azimuthal angles of the axes of the DRS ( ) in the MRS via the routine GSROTM.
CALL GSROTM (IROT,THETA1,PHI1,THETA2,PHI2,THETA3,PHI3)
Note: the angles THETA and PHI must be given in degrees.