source: trunk/source/geometry/solids/test/SolidsChecker/README @ 1350

Last change on this file since 1350 was 1350, checked in by garnier, 13 years ago

update to last version 4.9.4

File size: 1.3 KB
Line 
1                           SolidsChecker Test
2
3
4SolidsChecker test is random shooting test allowing one to use random shooting with large
5statistics for testing of G4 solid tracking functions. Detector messenger allows one
6to select a solid from the following list:
7
8G4Box    /mydet/SelectDetector Box
9
10G4Tubs   /mydet/SelectDetector Tube
11
12G4Cons   /mydet/SelectDetector Cone
13
14etc ... (se Sc01DetectorConstruction.cc file)
15
16
17/event/printModulo command allows us to fix the number of event where tracking functions
18show wrong behaviour. For those events the trackin verbose level should be increased to
19observe the details of steps. See runCheck.mac file for details.
20
21After compilation the test can be run by:
22
23SolidsChecker runCheck.mac
24
25
26                            runCheck.mac macro file
27
28here 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.