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