22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 GEANT/GEOMETRY<br />

Geometry commands.<br />

5.1 OPTI iopti<br />

IOPTI C “GSORD optimisation level” D=’0’ Minus<br />

Possible IOPTI values are:<br />

-1<br />

2<br />

This flag controls the tracking optimisation performed via the GSORD routine:<br />

1 no optimisation at all; GSORD calls disabled;<br />

0 no optimisation; only user calls to GSORD kept;<br />

1 all non-GSORDered volumes are ordered along the best axis;<br />

2 all volumes are ordered along the best axis.<br />

5.2 SVOLU name shape numed npar par<br />

NAME C “Volume name”<br />

SHAPE C “Volume type”<br />

NUMED I “Tracking medium number”<br />

NPAR I “Number of shape parameters”<br />

PAR C “Vector containing shape parameters”<br />

CALL GSVOLU(name,shape,numed,par,npar,ivolu)<br />

where par is a KUIP vector. It creates a new volume in the JVOLUM data structure.<br />

5.3 SPOS name number mother x0 y0 z0 irot only<br />

NAME C “Volume name”<br />

NUMBER I “Copy number of the volume”<br />

MOTHER C “Mother volume name”<br />

X0 R “X coord. of the volume in mother ref. sys.”<br />

Y0 R “Y coord. of the volume in mother ref. sys.”<br />

Z0 R “Z coord. of the volume in mother ref. sys.”<br />

IROT I “Rotation matrix number w.r.t. mother ref. sys.”<br />

ONLY C “ONLY/MANY flag”<br />

CALL GSPOS(name,number,mother,x0,y0,z0,irot,only)<br />

It positions a previously defined volume in the mother.<br />

5.4 SDVN name mother ndiv caxis<br />

379 XINT002 – 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!