Line | |
---|
1 | ************************************************* |
---|
2 | This is a test for the visualisation and testing |
---|
3 | of Points On the Surface of the solid |
---|
4 | |
---|
5 | Author: Tatiana Nikitina |
---|
6 | ************************************************* |
---|
7 | |
---|
8 | This test was created for testing GetPointOnSurface() |
---|
9 | Test runs as a normal Geant4 example. |
---|
10 | |
---|
11 | To build the application, first setup your environmental variables, |
---|
12 | do not forget to setup the visualisation part. |
---|
13 | |
---|
14 | and then do : make |
---|
15 | |
---|
16 | and to run it : |
---|
17 | $G4BIN/$G4SYSTEM/SurfaceVisTest |
---|
18 | |
---|
19 | SurfaceVisTest will do 2 tests on each run: |
---|
20 | - check point test for 1000 points |
---|
21 | (test if the points given by GetPointOnSurface() are realy on the Surface using Inside()) |
---|
22 | - visualisation test of 1000 points generated on Surface of Generic Polyhedra. |
---|
23 | (draw points given by GetPointsOnSurface()) |
---|
24 | |
---|
25 | Via command line user can choose : |
---|
26 | the solis : /mydet/SelectDetector nameOfSolid |
---|
27 | the number of Points generated on the Surface : /rndm/numPoints N |
---|
28 | |
---|
29 | Examples are given in vis.mac or in run1.mac |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.