1################################################################################
2# Macro executed by default in radiobiology example
3# Just creates a teest geometry and opens visualization.
6################################################################################
7# Set an example geometry
9/detectorGeom/setMat G4_WATER
10/detectorGeom/setSize 9 cm
11/detectorGeom/setSizeX 9 cm
12/detectorGeom/setSizeY 3 cm
13/detectorGeom/setSizeZ 3 cm
15################################################################################
16# Set voxel sizes, than change on the transverse direction.
18/voxels/setVoxelSizes 3 3 3 cm
19/voxels/setSizeX 1.5 cm
23################################################################################
24# Initialize and start visualization
28################################################################################
29# Change voxel dimensions after initialization
31/voxels/setSizeX 1.5 cm
36################################################################################
41# This opens the default viewer - see examples/basic/B1/vis.mac for a
42# more comprehensive overview of options. Also the documentation.
43## To open OGLSQt driver
47/vis/scene/endOfEventAction accumulate
48/vis/scene/add/trajectories smooth