]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEANT321/fluka/rotat.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / fluka / rotat.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:01  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.44  by  S.Giani
11 *-- Author :
12 *$ CREATE ROTAT.FOR
13 *COPY ROTAT
14 *
15 *=== rotat ============================================================*
16 *
17       SUBROUTINE ROTAT(PX,PY,PZ,PXN,PYN,PZN,COTE,SITE,COPS,SIPS)
18  
19 #include "geant321/dblprc.inc"
20 #include "geant321/dimpar.inc"
21 #include "geant321/iounit.inc"
22       PXN=-PX*SIPS-PY*COTE*COPS+PZ*SITE*COPS
23       PYN=PX*COPS-PY*COTE*SIPS+PZ*SITE*SIPS
24       PZN=PY*SITE+PZ*COTE
25       RETURN
26       END