[1208] | 1 | <html><head><title>Commands in /geometry/test/</title></head> |
---|
| 2 | <body bgcolor="#ffffff"><h2>/geometry/test/</h2><p> |
---|
| 3 | Geometry verification control setup.<br> |
---|
| 4 | Helps in detecting possible overlapping regions.<br> |
---|
| 5 | <p><hr><p> |
---|
| 6 | <h2>Sub-directories : </h2><dl> |
---|
| 7 | </dl><p><hr><p> |
---|
| 8 | <h2>Commands : </h2><dl> |
---|
| 9 | <p><br><p><dt><b>tolerance [<i>Tolerance</i>] [<i>Unit</i>]</b> |
---|
| 10 | <p><dd> |
---|
| 11 | Set error tolerance value.<br> |
---|
| 12 | Initial default value: 1E-4*mm.<br> |
---|
| 13 | <p><dd>Available at all Geant4 states. |
---|
| 14 | <p><dd>Parameters<table border=1> |
---|
| 15 | <tr><td>Tolerance |
---|
| 16 | <td>type d |
---|
| 17 | <td>Omittable : current value is used as the default value. |
---|
| 18 | <td><tr><td>Unit |
---|
| 19 | <td>type s |
---|
| 20 | <td>Omittable : default value = mm |
---|
| 21 | <td>Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi |
---|
| 22 | </table> |
---|
| 23 | <p><br><p><dt><b>position [<i>X</i>] [<i>Y</i>] [<i>Z</i>] [<i>Unit</i>]</b> |
---|
| 24 | <p><dd> |
---|
| 25 | Set starting position for the line_test.<br> |
---|
| 26 | <p><dd>Available at all Geant4 states. |
---|
| 27 | <p><dd>Parameters<table border=1> |
---|
| 28 | <tr><td>X |
---|
| 29 | <td>type d |
---|
| 30 | <td>Omittable : current value is used as the default value. |
---|
| 31 | <td><tr><td>Y |
---|
| 32 | <td>type d |
---|
| 33 | <td>Omittable : current value is used as the default value. |
---|
| 34 | <td><tr><td>Z |
---|
| 35 | <td>type d |
---|
| 36 | <td>Omittable : current value is used as the default value. |
---|
| 37 | <td><tr><td>Unit |
---|
| 38 | <td>type s |
---|
| 39 | <td>Omittable : default value = cm |
---|
| 40 | <td>Parameter candidates : pc km m cm mm um nm Ang fm parsec kilometer meter centimeter millimeter micrometer nanometer angstrom fermi |
---|
| 41 | </table> |
---|
| 42 | <p><br><p><dt><b>direction [<i>Px</i>] [<i>Py</i>] [<i>Pz</i>] [<i>Unit</i>]</b> |
---|
| 43 | <p><dd> |
---|
| 44 | Set momentum direction for the line_test.<br> |
---|
| 45 | Direction needs not to be a unit vector.<br> |
---|
| 46 | <p><dd>Range : Px != 0 || Py != 0 || Pz != 0 |
---|
| 47 | <p><dd>Available at all Geant4 states. |
---|
| 48 | <p><dd>Parameters<table border=1> |
---|
| 49 | <tr><td>Px |
---|
| 50 | <td>type d |
---|
| 51 | <td>Omittable : current value is used as the default value. |
---|
| 52 | <td><tr><td>Py |
---|
| 53 | <td>type d |
---|
| 54 | <td>Omittable : current value is used as the default value. |
---|
| 55 | <td><tr><td>Pz |
---|
| 56 | <td>type d |
---|
| 57 | <td>Omittable : current value is used as the default value. |
---|
| 58 | <td><tr><td>Unit |
---|
| 59 | <td>type s |
---|
| 60 | <td><td></table> |
---|
| 61 | <p><br><p><dt><b>line_test [<i>recursionFlag</i>]</b> |
---|
| 62 | <p><dd> |
---|
| 63 | Performs test along a single specified direction/position.<br> |
---|
| 64 | Use position and direction commands to change default.<br> |
---|
| 65 | Initial default: position(0,0,0), direction(0,0,1).<br> |
---|
| 66 | If recursion flag is set to TRUE, the intersection checks<br> |
---|
| 67 | will be performed recursively in the geometry tree.<br> |
---|
| 68 | <p><dd>Available Geant4 state(s) : Idle |
---|
| 69 | <p><dd>Parameters<table border=1> |
---|
| 70 | <tr><td>recursionFlag |
---|
| 71 | <td>type b |
---|
| 72 | <td>Omittable : default value = 0 |
---|
| 73 | <td></table> |
---|
| 74 | <p><br><p><dt><b>grid_cells [<i>X</i>] [<i>Y</i>] [<i>Z</i>]</b> |
---|
| 75 | <p><dd> |
---|
| 76 | Define resolution of grid geometry as number of cells,<br> |
---|
| 77 | specifying them for each dimension, X, Y and Z.<br> |
---|
| 78 | Will be applied to grid_test and recursive_test commands.<br> |
---|
| 79 | Initial default values: X=100, Y=100, Z=100.<br> |
---|
| 80 | <p><dd>Available at all Geant4 states. |
---|
| 81 | <p><dd>Parameters<table border=1> |
---|
| 82 | <tr><td>X |
---|
| 83 | <td>type d |
---|
| 84 | <td>Omittable : current value is used as the default value. |
---|
| 85 | <td><tr><td>Y |
---|
| 86 | <td>type d |
---|
| 87 | <td>Omittable : current value is used as the default value. |
---|
| 88 | <td><tr><td>Z |
---|
| 89 | <td>type d |
---|
| 90 | <td>Omittable : current value is used as the default value. |
---|
| 91 | <td></table> |
---|
| 92 | <p><br><p><dt><b>grid_test [<i>recursionFlag</i>]</b> |
---|
| 93 | <p><dd> |
---|
| 94 | Start running the default grid test.<br> |
---|
| 95 | A grid of lines parallel to a cartesian axis is used;<br> |
---|
| 96 | By default, only direct daughters of the mother volumes are checked.<br> |
---|
| 97 | If recursion flag is set to TRUE, the intersection checks<br> |
---|
| 98 | will be performed recursively in the geometry tree.<br> |
---|
| 99 | NOTE: the recursion may take a very long time,<br> |
---|
| 100 | depending on the geometry complexity !<br> |
---|
| 101 | <p><dd>Available Geant4 state(s) : Idle |
---|
| 102 | <p><dd>Parameters<table border=1> |
---|
| 103 | <tr><td>recursionFlag |
---|
| 104 | <td>type b |
---|
| 105 | <td>Omittable : default value = 0 |
---|
| 106 | <td></table> |
---|
| 107 | <p><br><p><dt><b>cylinder_geometry [<i>nPhi</i>] [<i>nZ</i>] [<i>nRho</i>]</b> |
---|
| 108 | <p><dd> |
---|
| 109 | Define details of the cylinder geometry, specifying:<br> |
---|
| 110 | nPhi - number of lines per Phi<br> |
---|
| 111 | nZ - number of Z points<br> |
---|
| 112 | nRho - number of Rho points<br> |
---|
| 113 | Will be applied to the cylinder_test command.<br> |
---|
| 114 | Initial default values: nPhi=90, nZ=50, nRho=50.<br> |
---|
| 115 | <p><dd>Available at all Geant4 states. |
---|
| 116 | <p><dd>Parameters<table border=1> |
---|
| 117 | <tr><td>nPhi |
---|
| 118 | <td>type d |
---|
| 119 | <td>Omittable : current value is used as the default value. |
---|
| 120 | <td><tr><td>nZ |
---|
| 121 | <td>type d |
---|
| 122 | <td>Omittable : current value is used as the default value. |
---|
| 123 | <td><tr><td>nRho |
---|
| 124 | <td>type d |
---|
| 125 | <td>Omittable : current value is used as the default value. |
---|
| 126 | <td></table> |
---|
| 127 | <p><br><p><dt><b>cylinder_scaleZ [<i>fracZ</i>]</b> |
---|
| 128 | <p><dd> |
---|
| 129 | Define the resolution of the cylinder geometry, specifying<br> |
---|
| 130 | the fraction scale for points along Z.<br> |
---|
| 131 | Initial default values: fracZ=0.8<br> |
---|
| 132 | <p><dd>Available at all Geant4 states. |
---|
| 133 | <p><dd>Parameters<table border=1> |
---|
| 134 | <tr><td>fracZ |
---|
| 135 | <td>type d |
---|
| 136 | <td>Omittable : default value = 0.8 |
---|
| 137 | <td></table> |
---|
| 138 | <p><br><p><dt><b>cylinder_scaleRho [<i>fracRho</i>]</b> |
---|
| 139 | <p><dd> |
---|
| 140 | Define the resolution of the cylinder geometry, specifying<br> |
---|
| 141 | the fraction scale for points along Rho.<br> |
---|
| 142 | Initial default values: fracRho=0.8<br> |
---|
| 143 | <p><dd>Available at all Geant4 states. |
---|
| 144 | <p><dd>Parameters<table border=1> |
---|
| 145 | <tr><td>fracRho |
---|
| 146 | <td>type d |
---|
| 147 | <td>Omittable : default value = 0.8 |
---|
| 148 | <td></table> |
---|
| 149 | <p><br><p><dt><b>cylinder_test [<i>recursionFlag</i>]</b> |
---|
| 150 | <p><dd> |
---|
| 151 | Start running the cylinder test.<br> |
---|
| 152 | A set of lines in a cylindrical pattern of gradually<br> |
---|
| 153 | increasing mesh size.<br> |
---|
| 154 | By default, only direct daughters of the mother volumes are checked.<br> |
---|
| 155 | If recursion flag is set to TRUE, the intersection checks<br> |
---|
| 156 | will be performed recursively in the geometry tree.<br> |
---|
| 157 | NOTE: the recursion may take a very long time,<br> |
---|
| 158 | depending on the geometry complexity !<br> |
---|
| 159 | <p><dd>Available Geant4 state(s) : Idle |
---|
| 160 | <p><dd>Parameters<table border=1> |
---|
| 161 | <tr><td>recursionFlag |
---|
| 162 | <td>type b |
---|
| 163 | <td>Omittable : default value = 0 |
---|
| 164 | <td></table> |
---|
| 165 | <p><br><p><dt><b>recursion_start [<i>initial_level</i>]</b> |
---|
| 166 | <p><dd> |
---|
| 167 | Set the initial level in the geometry tree for recursion.<br> |
---|
| 168 | recursive_test will then start from the specified level.<br> |
---|
| 169 | <p><dd>Available at all Geant4 states. |
---|
| 170 | <p><dd>Parameters<table border=1> |
---|
| 171 | <tr><td>initial_level |
---|
| 172 | <td>type i |
---|
| 173 | <td>Omittable : default value = 0 |
---|
| 174 | <td></table> |
---|
| 175 | <p><br><p><dt><b>recursion_depth [<i>recursion_depth</i>]</b> |
---|
| 176 | <p><dd> |
---|
| 177 | Set the depth in the geometry tree for recursion.<br> |
---|
| 178 | recursive_test will then stop after reached the specified depth.<br> |
---|
| 179 | By default, recursion will proceed for the whole depth.<br> |
---|
| 180 | <p><dd>Available at all Geant4 states. |
---|
| 181 | <p><dd>Parameters<table border=1> |
---|
| 182 | <tr><td>recursion_depth |
---|
| 183 | <td>type i |
---|
| 184 | <td>Omittable : default value = -1 |
---|
| 185 | <td></table> |
---|
| 186 | <p><br><p><dt><b>run [<i>recursionFlag</i>]</b> |
---|
| 187 | <p><dd> |
---|
| 188 | Start running the default grid test.<br> |
---|
| 189 | Same as the grid_test command.<br> |
---|
| 190 | If recursion flag is set to TRUE, the intersection checks<br> |
---|
| 191 | will be performed recursively in the geometry tree.<br> |
---|
| 192 | NOTE: the recursion may take a very long time,<br> |
---|
| 193 | depending on the geometry complexity !<br> |
---|
| 194 | <p><dd>Available Geant4 state(s) : Idle |
---|
| 195 | <p><dd>Parameters<table border=1> |
---|
| 196 | <tr><td>recursionFlag |
---|
| 197 | <td>type b |
---|
| 198 | <td>Omittable : default value = 0 |
---|
| 199 | <td></table> |
---|
| 200 | <p><br><p><dt><b>recursive_test</b> |
---|
| 201 | <p><dd> |
---|
| 202 | Start running the recursive grid test.<br> |
---|
| 203 | A grid of lines along a cartesian axis is recursively<br> |
---|
| 204 | to all daughters and daughters of daughters, etc.<br> |
---|
| 205 | NOTE: it may take a very long time,<br> |
---|
| 206 | depending on the geometry complexity !<br> |
---|
| 207 | <p><dd>Available Geant4 state(s) : Idle |
---|
| 208 | </dl></body></html> |
---|