\ARRAY ROTATION_MATRICES 1 90.000 0.000 90.000 90.000 0.000 0.000 2 90.000 180.000 90.000 90.000 180.000 0.000 \END
The format of the arguments is the same as the call to GEANT
routine GSROTM. In the
above example, two matrices are defined. The first argument is
the number of the rotation matrix. The next 6 arguments are the q ,f
of the new x,y and z axes with respect to the old x,y and z axes
in degrees. q,f are defined in the usual cylinderical co-ordinate
system conventions. So the new x axis is 90 degrees to the old Z
axis and has an azimuth of 0.0 degrees. i.e. it coincides with
the old x axis. Similarly, one can easily see that the new y and
z axes coincide with the old y and z axes. i.e. Rotation matrix 1
defines an identity transformation. Similarly, it is easy to see
that rotation matrix 2 defines a 180 degree rotation about the
old y axis. Since these matrices have numbers 1 and 2, they fall
in the range 0-999 and must occur in the RCP file MOTHERS.RCP