Next: A bit more about Up: Usefull C++ notions Previous: Usefull C++ notions

## Header files and source codes files
Keywords: LEMuSR_Simulation

Geant4 is a C++ toolkit and one need to write both a header and a source files for each object class.

The header file contains the declaration of all methods and variables that are specific to the class that is being defined. One also have to specify all the other classes from which his class inherits. Finally, one should indicate if the methods and variables are public (can be seen and get their values modified by other methods) or private (excusive appartenance to the class). Header files are located in the $LEMU/include directory.

The source file contains the code of each method. These files are located in the $LEMU/source directory.