GeoModelVisualization¶
GeoModelVisualization (gmex) is a 3D interactive visualization tool that allows you to display, navigate and debug complex detector geometries as the HEP experiments ones.
Examples¶
In order to launch gmex you could simply type:
./gmex
This will open a dialogue window where you will be able to select a SQLite (.db) file that you want to display (see Figure 1).

Alternatively you can feed the geometry to gmex
directly via the command line. For example:
./gmex myGeometry.db
Once the geometry is selected, by clicking on the Geo
tab on the left, gmex will diplay a list of all the subdetectors present in the loaded geometry, as shown in Figure 2

In order to visualize all or some of them you have to click on the respective checkbox and click on the eye icon
on the right (3rd icon from the top, in the right panel).

Now that you have loaded your geometry you can start investigating it. A good way to improve the visualization experience is to apply Phi sector cutouts. To do that you have to click on the Display
tab under Geo
(Figure 4), unselect a few of the phi sector cutaways
(Fig 4a) and then click Close
.


At this point you have a cutaway view of your detector (Fig 5) and you can start investigating it by “opening” it.

In order to do so you can follow the instructions written on the bottom part of the left panel. For instance, if you want to expand to child volumes you will have to use the following combination ‘Ctrl/Cmd’+click. In this way you will remove the first layer of your geometry and be able to inspect its content (see Fig. 6).
