Warning, /geant4/examples/extended/persistency/gdml/G04/README is written in an unsupported language. File is not indexed.
0001 -------------------------------------------------------------------
0002
0003 =========================================================
0004 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
0005 =========================================================
0006
0007 GDML detector sensitivity
0008 -------------------------
0009
0010 This example demonstrates the usage of the GDML auxiliary information for
0011 associating a sensitive detector to a volume.
0012
0013 The detector construction consists of a call to GDMLProcessor which parses a
0014 GDML file and returns the pointer to the world volume. The user can also write
0015 her/his own GDML file and use it as the primary input format for her/his Geant4
0016 application.
0017
0018 A simple GDML files is provided:
0019 - auxiliary.gdml, showing association of a volume with the auxiliary
0020 information, related to the sensitive detector.
0021
0022 HOW TO BUILD THE EXAMPLE ?
0023
0024 - You need to have built the persistency/gdml module by having
0025 set the -DGEANT4_USE_GDML=ON flag during the CMAKE configuration step,
0026 as well as the -DXERCESC_ROOT_DIR=<path_to_xercesc> flag pointing to
0027 the path where the XercesC XML parser package is installed in your system.
0028
0029 - Compile and link to generate the executable (in your CMAKE build directory):
0030 % make
0031
0032 - Execute the application.
0033 o For parsing interactively the GDML file:
0034 % gdml_det auxiliary.gdml