This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / erdecks / erbctr.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/03/06 15:37:34  mclareni
6 * Add geane321 source directories
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.49  by  S.Giani
11 *-- Author :
12       SUBROUTINE ERBCTR (X)
13 *
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       After the back-tracking transforms                       *
17 C.    *                  the transport matrix back to the original     *
18 C.    *                  particle direction                            *
19 C.    *                                                                *
20 C.    *       Arguments                                                *
21 C.    *           X        - Transport Matrix                          *
22 C.    *                                                                *
23 C.    *    ==>Called by : ERPEND                                       *
24 C.    *       Author    E.Nagy  *********                              *
25 C.    *                                                                *
26 C.    ******************************************************************
27 *
28          DOUBLE PRECISION X(5,5)
29 *
30       DO 10 I = 1, 5
31          DO 5 K = 1, 5
32             IF (I.EQ.2) X(I,K) = -X(I,K)
33             IF (K.EQ.2) X(I,K) = -X(I,K)
34             IF (I.EQ.4) X(I,K) = -X(I,K)
35             IF (K.EQ.4) X(I,K) = -X(I,K)
36     5    CONTINUE
37    10 CONTINUE
38 *                                                           END ERBCTR
39       END