Basic level of C++ programming language is required. For those who need a revision (which can be useful also for other applications than GEANT4), you can use for example the courses for M1 given by Ivana Hrivnacova:
For Geant4 training, it would be helpful to review the following material available
on the site:
- Presentations: Unix Basics, C++ Basics, Functions-1,2, Input/Output, Strings, Enums,
Collections, Classes-1,2, Pointers, Memory Management, Communication, Inheritance,
and optionally [Qt], [DrawQt]
- The Hand-on related to C++ programming.
- You can follow the schedule provided under the Program link and skip courses / hands-on, which are not in the list above.
The hands on will be done on the classroom computers where the Geant4 software will already be installed. If participants want to work with their laptops, it is necessary to install Geant4 before start of the course. No support for installation will be provided during the course .
The necessary configuration is as follows:
– Geant4 version 10.04.p0x (the version 10.03.p0x is also ok)
– installation by CMake in multi-threading mode
– with the optional modules (used in the course):
– – Qt
– – GDML – requires xerces -c installed on the system
The CMake options of the configuration above:
-DCMAKE_BUILD_TYPE = RelWithDebInfo -DGEANT4_BUILD_MULTITHREADED = ON -DGEANT4_INSTALL_DATA = ON -DGEANT4_USE_OPENGL_X11 = ON -DGEANT4_USE_GDML = ON -DGEANT4_USE_QT = ON
Which gives the following command line to compile and install Geant4 in a general way :
$> mkdir build $> cd build $> cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON ../where_is_yourgeant4 $> make install
If you need more help, please, contact Laurent Garnier email@example.com.