Example: Geant4/examples/extended/persistency/gdml/G01/
All comments refer to:
geant 4 release: patch01 for Geant4 9.5
platform: SLF 6 and UBUNTU
Reviewer: Hans Wenzel
1) Example compiles, runs
Yes and a CMakeLists.txt file is provided. Since the new build system is
cmake this should be reflected in the readme file for an out of source build:
building the example:
mkdir G01-build
cd G01-build/
cmake -DGeant4_DIR=/xxx/geant4.9.5.p01-install/lib/Geant4-9.5.1/ \
/xxx/geant4.9.5.p01/examples/extended/persistency/gdml/G01
make load_gdml
remark: since there is only one target for creating an executable (load_gdml) a
simple make should be sufficient.
In the file
opticalsurfaces.gdml
I find the line:
which means that no unit for the energy of the photon is provided and so
geant 4 will use the default unit of MeV which doesn't make sense for
optical photons
using: