source: trunk/source/geometry/solids/test/SBT/geant4/cons.geant4 @ 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: 2.0 KB
Line 
1#
2# GEANT4 SBT Script to test G4Cons
3# DCW 19/3/99 First try
4#
5# Increment the number below when errors become a bit more rare
6#
7test/maxPoints 1000
8#
9# --- cons.a1.log
10# Here is a tube with no inner radius and no phi segmentation
11#
12/test/gridSizes 0 0 0 m
13/solid/G4Cons 0 1 0 1 1 0 360
14/test/errorFileName  log/cons.a1.log
15/test/run
16#
17/voxel/errorFileName log/consv.a1.log
18/voxel/run
19#
20/test/gridSizes 0.02 0.02 0.02 m
21/test/errorFileName  log/cons.a2.log
22/test/run
23#
24# --- cons.b1.log
25# Now add an inner radius
26#
27/test/gridSizes 0 0 0 m
28/solid/G4Cons 0.5 1 0.5 1.2 0 360
29/test/errorFileName  log/cons.b1.log
30/test/run
31/test/gridSizes 0.02 0.02 0.02 m
32/test/errorFileName  log/cons.b2.log
33/test/run
34#
35# --- cons.c1.log
36# Do something particularly cruel: close the cone off on one end
37#
38/test/gridSizes 0 0 0 m
39/solid/G4Cons 0 1 0.5 1 1 0 360
40/test/errorFileName  log/cons.c1.log
41/test/run
42/test/gridSizes 0.02 0.02 0.02 m
43/test/errorFileName  log/cons.c2.log
44/test/run
45#
46# --- cons.d1.log
47# Now add a phi segment to the simple case
48#
49/test/gridSizes 0 0 0 m
50/solid/G4Cons 0 1 0 1 1 0 90
51/test/errorFileName  log/cons.d1.log
52/test/run
53/test/gridSizes 0.02 0.02 0.02 m
54/test/errorFileName  log/cons.d2.log
55/test/run
56#
57# --- cons.e1.log
58# Do the same but with a slightly different phi slice
59#
60/test/gridSizes 0 0 0 m
61/solid/G4Cons 0 1 0 1 1 20 181
62/test/errorFileName  log/cons.e1.log
63/test/run
64/test/gridSizes 0.02 0.02 0.02 m
65/test/errorFileName  log/cons.e2.log
66/test/run
67#
68# --- cons.f1.log
69# Now add a phi slice to a cone with inner radii
70#
71/test/gridSizes 0 0 0 m
72/solid/G4Cons 0.5 1.0 0.7 1.2 1 20 350
73/test/errorFileName  log/cons.f1.log
74/test/run
75/test/gridSizes 0.02 0.02 0.02 m
76/test/errorFileName  log/cons.f2.log
77/test/run
78#
79# --- cons.g1.log
80# A real nightmare
81#
82/test/gridSizes 0 0 0 m
83/solid/G4Cons 0.0 0.2 0.8 1.0 0.0001 10 90
84/test/errorFileName  log/cons.g1.log
85/test/widths 1 1 0.0002 m
86/test/run
87/test/gridSizes 0.02 0.02 0.00001 m
88/test/errorFileName  log/cons.g2.log
89/test/run
90#
91exit
92
Note: See TracBrowser for help on using the repository browser.