]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - GEANT321/gheisha/rotes2.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / gheisha / rotes2.F
diff --git a/GEANT321/gheisha/rotes2.F b/GEANT321/gheisha/rotes2.F
new file mode 100644 (file)
index 0000000..d924ebf
--- /dev/null
@@ -0,0 +1,30 @@
+*
+* $Id$
+*
+* $Log$
+* Revision 1.1.1.1  1995/10/24 10:20:59  cernlib
+* Geant
+*
+*
+#include "geant321/pilot.h"
+*CMZ :  3.21/02 29/03/94  15.41.38  by  S.Giani
+*-- Author :
+      SUBROUTINE ROTES2(C,S,C2,S2,PR,I)
+C
+C *** NVE 16-MAR-1988 CERN GENEVA ***
+C
+C ORIGIN : H.FESEFELDT (27-OCT-1983)
+C
+      DIMENSION PR(*)
+      K1 = 5*I - 4
+      K2 = K1 + 1
+      SA = PR(K1)
+      SB = PR(K2)
+      A      = SA*C - SB*S
+      PR(K2) = SA*S + SB*C
+      K2 = K2 + 1
+      B = PR(K2)
+      PR(K1) = A*C2 - B*S2
+      PR(K2) = A*S2 + B*C2
+      RETURN
+      END