| [1350] | 1 | #
|
|---|
| 2 | # GEANT4 SBT Script to test G4Polycone
|
|---|
| 3 | # DCW 19/3/99 First try
|
|---|
| 4 | #
|
|---|
| 5 | # Increment the number below to **really** waste CPU time
|
|---|
| 6 | #
|
|---|
| 7 | <<<<<<< polycone.geant4
|
|---|
| 8 | test/maxPoints 5000
|
|---|
| 9 | test/maxVoxels 100
|
|---|
| 10 | =======
|
|---|
| 11 | test/maxPoints 1000
|
|---|
| 12 | >>>>>>> 1.2
|
|---|
| 13 | #
|
|---|
| 14 | # --- polycone.a1.log
|
|---|
| 15 | # Start with a nice and easy case
|
|---|
| 16 | #
|
|---|
| 17 | /solid/G4Polycone 0 360 4 (1.0,1.2,1.4,1.2) (-1.0,-1.0,1.0,1.0)
|
|---|
| 18 | /test/errorFileName log/polycone.a1.log
|
|---|
| 19 | /test/run
|
|---|
| 20 | #
|
|---|
| 21 | # --- polycone.a2.log
|
|---|
| 22 | # Up the ante and generate points on a grid
|
|---|
| 23 | #
|
|---|
| 24 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 25 | /test/errorFileName log/polycone.a2.log
|
|---|
| 26 | /test/run
|
|---|
| 27 | #
|
|---|
| 28 | #
|
|---|
| 29 | # --- polycone.b1.log
|
|---|
| 30 | # Now add a phi slice
|
|---|
| 31 | #
|
|---|
| 32 | /solid/G4Polycone 0 90 4 (1.0,1.2,1.4,1.2) (-1.0,-1.0,1.0,1.0)
|
|---|
| 33 | /test/gridSizes 0 0 0 m
|
|---|
| 34 | /test/errorFileName log/polycone.b1.log
|
|---|
| 35 | /test/run
|
|---|
| 36 | #
|
|---|
| 37 | # --- polycone.b2.log
|
|---|
| 38 | # Up the ante and generate points on a grid
|
|---|
| 39 | #
|
|---|
| 40 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 41 | /test/errorFileName log/polycone.b2.log
|
|---|
| 42 | /test/run
|
|---|
| 43 | #
|
|---|
| 44 | # --- polycone.c1.log
|
|---|
| 45 | # Build a much more complicated polycone
|
|---|
| 46 | #
|
|---|
| 47 | /solid/G4Polycone 0 360 17 (0.0,0.2,0.3,0.32,0.32,0.4,0.4,0.5,0.5,0.8,0.8,0.9,0.9,0.8,0.8,0.3,0.0) (-0.5,-0.5,-1.1,-1.1,-0.4,-0.4,-1.0,-1.0,-0.4,-1.0,0.0,0.0,0.2,0.2,1.0,0.0,1.0)
|
|---|
| 48 | /test/gridSizes 0 0 0 m
|
|---|
| 49 | /test/errorFileName log/polycone.c1.log
|
|---|
| 50 | /test/run
|
|---|
| 51 | #
|
|---|
| 52 | # --- polycone.b2.log
|
|---|
| 53 | # Up the ante and generate points on a grid
|
|---|
| 54 | #
|
|---|
| 55 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 56 | /test/errorFileName log/polycone.c2.log
|
|---|
| 57 | /test/run
|
|---|
| 58 | #
|
|---|
| 59 | # --- polycone.d1.log
|
|---|
| 60 | # Build a much more complicated polycone, now with a slice
|
|---|
| 61 | #
|
|---|
| 62 | /solid/G4Polycone 0 90 17 (0.0,0.2,0.3,0.32,0.32,0.4,0.4,0.5,0.5,0.8,0.8,0.9,0.9,0.8,0.8,0.3,0.0) (-0.5,-0.5,-1.1,-1.1,-0.4,-0.4,-1.0,-1.0,-0.4,-1.0,0.0,0.0,0.2,0.2,1.0,0.0,1.0)
|
|---|
| 63 | /test/gridSizes 0 0 0 m
|
|---|
| 64 | /test/errorFileName log/polycone.d1.log
|
|---|
| 65 | /test/run
|
|---|
| 66 | #
|
|---|
| 67 | # --- polycone.d2.log
|
|---|
| 68 | # Up the ante and generate points on a grid
|
|---|
| 69 | #
|
|---|
| 70 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 71 | /test/errorFileName log/polycone.d2.log
|
|---|
| 72 | /test/run
|
|---|
| 73 | #
|
|---|
| 74 | # --- polycone.e1.log
|
|---|
| 75 | # Build a much more complicated polycone, now with a thin slice
|
|---|
| 76 | #
|
|---|
| 77 | /solid/G4Polycone -1 2 17 (0.0,0.2,0.3,0.32,0.32,0.4,0.4,0.5,0.5,0.8,0.8,0.9,0.9,0.8,0.8,0.3,0.0) (-0.5,-0.5,-1.1,-1.1,-0.4,-0.4,-1.0,-1.0,-0.4,-1.0,0.0,0.0,0.2,0.2,1.0,0.0,1.0)
|
|---|
| 78 | /test/gridSizes 0 0 0 m
|
|---|
| 79 | /test/errorFileName log/polycone.e1.log
|
|---|
| 80 | /test/run
|
|---|
| 81 | #
|
|---|
| 82 | # --- polycone.e2.log
|
|---|
| 83 | # Up the ante and generate points on a grid
|
|---|
| 84 | #
|
|---|
| 85 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 86 | /test/errorFileName log/polycone.e2.log
|
|---|
| 87 | /test/run
|
|---|
| 88 | #
|
|---|
| 89 | # --- polycone.f1.log
|
|---|
| 90 | # polycone.f2.log
|
|---|
| 91 | # Build a polycone similiar to fred's PCON2
|
|---|
| 92 | #
|
|---|
| 93 | /solid/G4Polycone 10 250 10 (0.6,0.6,1.0,1.0,1.1,0.9,0.0,0.0,0.4,0.5) (-1.0,0.0,0.0,0.8,1.0,1.0,0.8,0.0,0.0,-1.0)
|
|---|
| 94 | /test/gridSizes 0 0 0 m
|
|---|
| 95 | /test/errorFileName log/polycone.f1.log
|
|---|
| 96 | /test/run
|
|---|
| 97 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 98 | /test/errorFileName log/polycone.f2.log
|
|---|
| 99 | /test/run
|
|---|
| 100 | /test/gridSizes 0.1 0.1 0.1 m
|
|---|
| 101 | /test/errorFileName log/polycone.f3.log
|
|---|
| 102 | /test/run
|
|---|
| 103 | #
|
|---|
| 104 | # --- polycone.g1.log
|
|---|
| 105 | # polycone.g2.log
|
|---|
| 106 | # Build a polycone similiar to fred's PCON3
|
|---|
| 107 | #
|
|---|
| 108 | /solid/G4Polycone -10 355 16 (0.7,0.7,0.8,0.9,1.0,1.0,0.5,0.5,0.0,0.4,0.4,0.4,0.5,0.5,0.6,0.6) (-1.0,-0.5,-0.5,-1.0,-1.0,0.7,0.7,1.0,1.0,0.7,0.7,-1.0,-1.0,-0.5,-0.5,-1.0)
|
|---|
| 109 | /test/gridSizes 0 0 0 m
|
|---|
| 110 | /test/errorFileName log/polycone.g1.log
|
|---|
| 111 | /test/run
|
|---|
| 112 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 113 | /test/errorFileName log/polycone.g2.log
|
|---|
| 114 | /test/run
|
|---|
| 115 | #
|
|---|
| 116 | # --- polycone.h1.log
|
|---|
| 117 | # polycone.h2.log
|
|---|
| 118 | # Build a polycone similiar to fred's PCON4 (and testG4Polycone.cc)
|
|---|
| 119 | /solid/G4Polycone2 -10 355 8 (-0.2,-0.1,-0.1,0,0.1,0.2,0.3,0.4) (0.3,0.3,0,0,0,0,0.4,0.4) (0.7,0.7,0.7,0.4,0.4,0.8,0.8,0.8)
|
|---|
| 120 | #/solid/G4Polycone -10 355 16 (0.7,0.7,0.7,0.4,0.4,0.8,0.8,0.6,0.4,0.4,0.0,0.0,0.0,0.0,0.3,0.3) (-0.2,-0.1,-0.1,0.0,0.1,0.2,0.3,0.4,0.4,0.3,0.2,0.1,0.0,-0.1,-0.1,-0.2)
|
|---|
| 121 | /test/gridSizes 0 0 0 m
|
|---|
| 122 | /test/errorFileName log/polycone.h1.log
|
|---|
| 123 | /test/run
|
|---|
| 124 | /test/gridSizes 0.02 0.02 0.02 m
|
|---|
| 125 | /test/errorFileName log/polycone.h2.log
|
|---|
| 126 | /test/run
|
|---|
| 127 | #
|
|---|
| 128 |
|
|---|
| 129 | exit
|
|---|