Line | |
---|
1 | SolidsChecker Test |
---|
2 | |
---|
3 | |
---|
4 | SolidsChecker test is random shooting test allowing one to use random shooting with large |
---|
5 | statistics for testing of G4 solid tracking functions. Detector messenger allows one |
---|
6 | to select a solid from the following list: |
---|
7 | |
---|
8 | G4Box /mydet/SelectDetector Box |
---|
9 | |
---|
10 | G4Tubs /mydet/SelectDetector Tube |
---|
11 | |
---|
12 | G4Cons /mydet/SelectDetector Cone |
---|
13 | |
---|
14 | etc ... (se Sc01DetectorConstruction.cc file) |
---|
15 | |
---|
16 | |
---|
17 | /event/printModulo command allows us to fix the number of event where tracking functions |
---|
18 | show wrong behaviour. For those events the trackin verbose level should be increased to |
---|
19 | observe the details of steps. See runCheck.mac file for details. |
---|
20 | |
---|
21 | After compilation the test can be run by: |
---|
22 | |
---|
23 | SolidsChecker runCheck.mac |
---|
24 | |
---|
25 | |
---|
26 | runCheck.mac macro file |
---|
27 | |
---|
28 | here is some example of macro file: |
---|
29 | |
---|
30 | # |
---|
31 | # Macro file of "SolidsChecker.cc" |
---|
32 | # for Optical photons geometry test |
---|
33 | # |
---|
34 | /run/initialize |
---|
35 | #/geometry/test/recursive_test |
---|
36 | /particle/list |
---|
37 | #/tracking/verbose 1 |
---|
38 | # |
---|
39 | #/mydet/SelectDetector Cone |
---|
40 | # |
---|
41 | /mydet/SelectDetector Sphere |
---|
42 | # |
---|
43 | /event/printModulo 100000 |
---|
44 | /run/beamOn 1000000 |
---|
45 | /event/printModulo 10000 |
---|
46 | #/tracking/verbose 3 |
---|
47 | /run/beamOn 100000 |
---|
48 | # |
---|
49 | #/run/beamOn 353561 Torus |
---|
50 | #/run/beamOn 6236 Cone |
---|
51 | # |
---|
52 | #/event/printModulo 10000 |
---|
53 | #/run/beamOn 100000 |
---|
54 | #/event/printModulo 100000 |
---|
55 | #/run/beamOn 1000000 |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.