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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.DZ half-length along the z axis;<br />

2.THET polar angle of the line joining the centre of the face at -DZ to the centre of the one<br />

at +DZ;<br />

3.PHI azimuthal angle of the line joining the centre of the face at -DZ to the centre of the<br />

one at +DZ;<br />

4.TWIST twist angle of the faces parallel to the x-y plane at z = ±DZ around an axis parallel<br />

to z passing through their centre;<br />

5.H1 half-length along y of the face at -DZ;<br />

6.BL1 half-length along x of the side at -H1 in y of the face at -DZ in z;<br />

7.TL1 half-length along x of the side at +H1 in y of the face at -DZ in z;<br />

8.ALP1 angle with respect to the y axis from the centre of the side at -H1 in y to the centre<br />

of the side at +H1 in y of the face at -DZ in z;<br />

9.H2 half-length along y of the face at +DZ;<br />

10.BL2 half-length along x of the side at -H2 in y of the face at +DZ in z;<br />

11.TL2 half-length along x of the side at +H2 in y of the face at +DZ in z;<br />

12.ALP2 angle with respect to the y axis from the centre of the side at -H2 in y to the centre<br />

of the side at +H2 in y of the face at +DZ in z;<br />

Note: this shape suffers from the same limitations than the TRAP: the tracking routines assume<br />

that the faces are planar, but this constraint is not easily expressed in terms of the 12 parameters.<br />

Additionally, no check on the faces is performed in this case. Users should avoid to use this<br />

shape as much as possible, and if they have to do so, they should make sure that the faces are<br />

really planes. If this is not the case, the result of the transport is unpredictable.<br />

To accelerate the computations necessary for transport, 18 additional parameters are calculated<br />

for this shape:<br />

1.DX0DZ dx/dz of the line joining the centres of the faces at z=±DZ;<br />

2.DY0DZ dy/dz of the line joining the centres of the faces at z=±DZ;<br />

3.X01 x at z=0 for line joining the + on parallel side, perpendicular corners at z=±DZ;<br />

4.Y01 y at z=0 for line joining the + on parallel side, + on perpendicular corners at z=±DZ;<br />

5.DXDZ1 dx/dz for line joining the + on parallel side, + on perpendicular corners at z=±DZ;<br />

6.DYDZ1 dy/dz for line joining the + on parallel side, + on perpendicular corners at z=±DZ;<br />

7.X02 x at z=0 for line joining the - on parallel side, + on perpendicular corners at z=±DZ;<br />

8.Y02 y at z=0 for line joining the - on parallel side, + on perpendicular corners at z=±DZ;<br />

9.DXDZ2 dx/dz for line joining the - on parallel side, + on perpendicular corners at z=±DZ;<br />

10.DYDZ2 dy/dz for line joining the - on parallel side, + on perpendicular corners at z=±DZ;<br />

11.X03 x at z=0 for line joining the - on parallel side, - on perpendicular corners at z=±DZ;<br />

12.Y03 y at z=0 for line joining the - on parallel side, - on perpendicular corners at z=±DZ;<br />

13.DXDZ3 dx/dz for line joining the - on parallel side, - on perpendicular corners at z=±DZ;<br />

14.DYDZ3 dy/dz for line joining the - on parallel side, - on perpendicular corners at z=±DZ;<br />

15.X04 x at z=0 for line joining the + on parallel side, - on perpendicular corners at z=±DZ;<br />

16.Y04 y at z=0 for line joining the + on parallel side, - on perpendicular corners at z=±DZ;<br />

17.DXDZ4 dx/dz for line joining the + on parallel side, - on perpendicular corners at z=±DZ;<br />

18.DYDZ4 dy/dz for line joining the + on parallel side, - on perpendicular corners at z=±DZ;<br />

29 CTUB cut tube, a tube cut at the extremities with planes not necessarily perpendicular to the z axis. It<br />

has 11 parameters:<br />

GEOM050 – 4 113

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

Saved successfully!

Ooh no, something went wrong!