5 * Revision 1.1.1.1 1995/10/24 10:20:46 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.32 by S.Giani
12 SUBROUTINE GCOSET(PAR,ISHAPE)
14 C- Created 12-JUN-1991 Nils Joar Hoimyr
15 C- Modified 21.02.1992 Jouko Vuoskoski
17 C- Describes a contour face of a CONE(Segment) from the GEANT
18 C- CONE/CONS shape parameters. This face is rotated around the
19 C- Z-axis to generated the solid shape in SET.
20 C----------------------------------------------------------C
21 #include "geant321/gcsetf.inc"
25 REAL P1X,P1Y,P1Z,P2X,P2Y,P2Z,P3X,P3Y,P3Z,P4X,P4Y,P4Z
27 C---------------------------------------------------------
37 ELSEIF (ISHAPE.EQ.8) THEN
54 C *WRITE SET@103,F1#3,3,2,P1X,P1Y,P1Z,P2X,P2Y,P2Z,P3X,P3Y,P3Z,P4X,P4Y,P4Z
55 C *WRITE SET @100,N..#144,!F1,PHIMIN,PHIMAX.
56 C----------------------------------------------------------------------
58 WRITE(BLKSTR,10000)N1,P1X,P1Y,P1Z,P2X,P2Y,P2Z, P3X,P3Y,P3Z,P4X,
62 WRITE(BLKSTR,10100)N1,N1-1,PHIMIN,PHIMAX
65 10000 FORMAT('@103,',I10,',:5,2#3,3,2,',G14.7,',',G14.7,',',G14.7,','
66 + ,G14.7,',',G14.7,',',G14.7,',',G14.7,',',G14.7,',',G14.7,','
67 + ,G14.7,',',G14.7,',',G14.7)
68 10100 FORMAT('@100,',I10,',:5,2#144,!',I10,',',G14.7,',',G14.7)