3.3.  Note on Geant4 Datasets

If you built and installed Geant4 configured with the option GEANT4_INSTALL_DATA set, then the Geant4 datasets will have been downloaded and installed automatically.

In this case, the geant4.(c)sh and geant4make.(c)sh scripts will set up the needed environment variables required by Geant4 to locate these datasets. On Windows, you will need to set the needed environment variables listed below by hand. This can be done by opening the Environment Variables dialog, as described in Section 3.1, clicking on the New button, and entering the Variable name and Variable value using the names and paths described below.

If you chose not to install the datasets, but require them later, you will need to download and unpack them by hand to the location you specified for GEANT4_INSTALL_DATADIR. If you did not set this, it defaults to CMAKE_INSTALL_PREFIX/share/Geant4-9.6.0/data. Unpacking the datasets in this location will result in Geant4 automatically locating them once geant4.(c)sh or geant4make.(c)sh have been sourced.

If you have datasets in a different location, then you will need to manually set the following environment variables: