$HOME/tutorial in this case, should be as follows:
GNUmakefile : where appear the name of the executable,
in this case myMain;
include/ : where all the header files (.hh, .h, .icc) stay;
src/ : where all the corresponding source or implementation
files (.cc) stay.
After you have setup your environmental variables, to build
the executable type:
gmake
which produces the executable (myMain) in: $G4WORKDIR/bin/$G4SYSTEM.$G4WORKDIR/bin/$G4SYSTEM
you can execute it by simply typing its name, myMain.training subdirectory contains
the exercises and their solutions.
NB - At the very beginning, you will not find GNUmakefile,
and the directories include and src.
It is the purpose of the 0_start/ exercise
to provide it, and to fill properly the directories
include and src. See below.
training has two subdirectories:
exercises - where you find the test of the exercises,
as ToDo.txt files;
solutions - where you find the files that should be
created/modified in order to solve the exercises.
subdirectory structure of exercises and solutions
is exactly the same.
In order to use a solution to a given exercises, for
example 0_start, you have to do the following:
tutorial/training/solutions/0_starttutorial/include
myMain.cc,
that are in:tutorial/training/solutions/0_starttutorial/src
myMain.cc, GNUmakefile,
macro files *.g4 ) that are in:tutorial/training/solutions/0_starttutorial
10_analysis , 10b , 10c ) you should use
JAS as analysis tool rather than Anaphe: this means, in practice,
that you have to move any file which ends with
the string -win32-Jas to a file with the same
name without such string, for example:
cd tutorial/solutions/10_analysis/
mv GNUmakefile-win32-Jas GNUmakefile
mv MyAnalysis.cc-win32-Jas MyAnalysis.cc