This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / geocad / gspset.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:47  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.32  by  S.Giani
11 *-- Author :
12       SUBROUTINE GSPSET(PAR)
13 C-
14 C-   Created  12-JUN-1991   Nils Joar Hoimyr
15 C-   Modified 21.02.1992  Jouko Vuoskoski
16 C-
17 C-  Takes a GEANT SPHE shape, and wites it out as a primitive solid
18 C-  sphere in SET.
19 C----------------------------------------------------------------------
20  
21 #include "geant321/gcsetf.inc"
22  
23 C
24       DIMENSION PAR(50)
25 C
26       REAL RMIN, RMAX
27 C
28 C Segments not yet ready:
29 C    REAL ALPH1, ALPH2, THET1, THET2
30 C
31 C----------------------------------------------------------------------
32 C
33       RMIN= PAR(1)
34       RMAX= PAR(2)
35 C
36 C        IF segment of a sphere  THEN (Currently not implemented)
37 C      *WRITE SET @50,N..#34,RMAX,ALPH1,ALPH2,THET1,THET2,RMIN
38 C        ELSE
39 C      *WRITE SET @50,N..#34,RMAX,,,,,RMIN
40 C----------------------------------------------------------------------
41 C
42       WRITE(BLKSTR,10000)N1,RMAX,RMIN
43       CALL GJWRIT
44 C
45 10000   FORMAT('@50,',I10,',:5,2#34,',G14.7,',,,,,',G14.7)
46 C
47       END