# # GEANT4 SBT Script to test G4Polycone # DCW 19/3/99 First try # # Increment the number below to **really** waste CPU time # <<<<<<< polycone.geant4 test/maxPoints 5000 test/maxVoxels 100 ======= test/maxPoints 1000 >>>>>>> 1.2 # # --- polycone.a1.log # Start with a nice and easy case # /solid/G4Polycone 0 360 4 (1.0,1.2,1.4,1.2) (-1.0,-1.0,1.0,1.0) /test/errorFileName log/polycone.a1.log /test/run # # --- polycone.a2.log # Up the ante and generate points on a grid # /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.a2.log /test/run # # # --- polycone.b1.log # Now add a phi slice # /solid/G4Polycone 0 90 4 (1.0,1.2,1.4,1.2) (-1.0,-1.0,1.0,1.0) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.b1.log /test/run # # --- polycone.b2.log # Up the ante and generate points on a grid # /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.b2.log /test/run # # --- polycone.c1.log # Build a much more complicated polycone # /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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.c1.log /test/run # # --- polycone.b2.log # Up the ante and generate points on a grid # /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.c2.log /test/run # # --- polycone.d1.log # Build a much more complicated polycone, now with a slice # /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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.d1.log /test/run # # --- polycone.d2.log # Up the ante and generate points on a grid # /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.d2.log /test/run # # --- polycone.e1.log # Build a much more complicated polycone, now with a thin slice # /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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.e1.log /test/run # # --- polycone.e2.log # Up the ante and generate points on a grid # /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.e2.log /test/run # # --- polycone.f1.log # polycone.f2.log # Build a polycone similiar to fred's PCON2 # /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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.f1.log /test/run /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.f2.log /test/run /test/gridSizes 0.1 0.1 0.1 m /test/errorFileName log/polycone.f3.log /test/run # # --- polycone.g1.log # polycone.g2.log # Build a polycone similiar to fred's PCON3 # /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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.g1.log /test/run /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.g2.log /test/run # # --- polycone.h1.log # polycone.h2.log # Build a polycone similiar to fred's PCON4 (and testG4Polycone.cc) /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) #/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) /test/gridSizes 0 0 0 m /test/errorFileName log/polycone.h1.log /test/run /test/gridSizes 0.02 0.02 0.02 m /test/errorFileName log/polycone.h2.log /test/run # exit