1 | <head> |
---|
2 | <title>SURVEY</title> |
---|
3 | <!-- Changed by: Chris ISELIN, 4-Aug-1997 --> |
---|
4 | <!-- Changed by: Hans Grote, 23-Sep-2002 --> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body bgcolor="#ffffff"> |
---|
8 | |
---|
9 | <h1>SURVEY: Compute Geometric Layout</h1> |
---|
10 | |
---|
11 | The SURVEY command computes the <a href="global.html">geometry</a> |
---|
12 | of the machine: |
---|
13 | <pre> |
---|
14 | SURVEY, X0=real,Y0=real,Z0=real,& |
---|
15 | THETA0=real,PHI0=real,PSI0=real,TAPE=file-name |
---|
16 | </pre> |
---|
17 | It operates on the working beam line entered in the latest |
---|
18 | <a href="use.html">USE</a> command. |
---|
19 | Its parameter list specifies the initial position and orientation |
---|
20 | of the reference orbit in the |
---|
21 | <a href="global.html">global coordinate system</a> (X,Y,Z). |
---|
22 | Omitted attributes assume zero values. |
---|
23 | Valid attributes are: |
---|
24 | <ul> |
---|
25 | <li>X0: |
---|
26 | The initial X coordinate [m]. |
---|
27 | <li>Y0: |
---|
28 | The initial Y coordinate [m]. |
---|
29 | <li>Z0: |
---|
30 | The initial Z coordinate [m]. |
---|
31 | <li>THETA0: |
---|
32 | The initial angle theta [rad]. |
---|
33 | <li>PHI0: |
---|
34 | The initial angle phi. |
---|
35 | <li>PSI0: |
---|
36 | The initial angle psi. |
---|
37 | <li>TAPE: |
---|
38 | If TAPE=file-name appears |
---|
39 | MAD writes a full <a href="tape3.html#survey">survey table</a> on a disk file |
---|
40 | <a href="files.html">file-name</a>. |
---|
41 | TAPE alone is equivalent to TAPE="survey": |
---|
42 | </ul> |
---|
43 | SURVEY prints one line for either end of the computation range |
---|
44 | and a summary. |
---|
45 | It also prints one line for each element and |
---|
46 | for the entrance and exit of each beam line, |
---|
47 | if this position has been selected by |
---|
48 | <a href="print.html">PRINT</a> or |
---|
49 | by <a href="print.html">SELECT,FLAG=TWISS</a>. |
---|
50 | <p> |
---|
51 | |
---|
52 | Example: |
---|
53 | <pre> |
---|
54 | SURVEY, TAPE=LAYOUT |
---|
55 | </pre> |
---|
56 | This example computes the machine layout with zero initial |
---|
57 | conditions and writes the results on a file called LAYOUT: |
---|
58 | |
---|
59 | <address> |
---|
60 | <a href="http://wwwslap.cern.ch/fci/fci_sign.html">fci</a>, |
---|
61 | January 27, 1997 |
---|
62 | </address> |
---|
63 | |
---|
64 | </body> |
---|