Visualization

Q: While visualizing my geometry setup I often see the following error message printed out: BooleanProcessor: boolean operation failed .

A: There is a known limitation for the visualization of Boolean solids in the so-called BooleanProcessor which is used to make polyhedra for visualisation. It does not affect the tracking through such solids. So the error message you see does not affect the simulation in any way.

One workaround is to move one of the affected solids by a small distance in order to avoid shared surfaces.

This problem does not affect the ray tracer, because it uses Geant4’s tracking algorithms rather than polyhedral representations. So:

/vis/open RayTracer # or RayTracerX
/vis/drawVolume

If you want to use the view parameters of a previous view, say “viewer-0”:

/vis/viewer/copyFrom viewer-0

Then:

/vis/viewer/refresh

If you want to study a particular subsystem:

/vis/drawVolume <sub-system-physical-volume-name>

There are many vis commands. Not all can be described here. Use the help facility - “help” or “ls” on the command line or the help facility in Qt or Section “Built-in commands” in the Application Developers Guide.