This example demonstrates the usage of the GDML auxiliary information for associating a sensitive detector to a volume.
The detector construction consists of a call to GDMLProcessor which parses a GDML file and returns the pointer to the world volume. The user can also write her/his own GDML file and use it as the primary input format for her/his Geant4 application.
A simple GDML files is provided:
% make
% gdml_det auxiliary.gdml