The angular correlations extension was modified to include internal conversion.
To install the Geant4 source files and the detectorSimulations source files, rsyncit.sh is provided.
-
open
rsyncit.shwith a text editor and replace the paths to the original source directories if necessary -
run
chmod u+x rsyncit.shif the file is not executable -
run
./rsyncit.sh -
run
make cleanand thenmakeandmake installin your Geant4 build directory
FOR A PURE SIMULATION:
-
run
makeinrdecay01 -
create a new build directory
-
run
cmake -DGeant4_DIR=/opt/geant4.10.01.p03-install/lib64/Geant4-10.1.3/ ~/Geant4GammaElectronAngularCorrelations/rdecay01/in this build directory.
The above command assumes that your Geant4 install directory is named
geant4.10.01.p03-installlike mine was, and that you've checked out this repository into your home directory. You may also havecmake3installed, as opposed tocmake. -
run
makein this build directory
*** repeat steps 3, 4 (without make clean), 5, and 8 for every change to the Geant4/pure simulation source code.
FOR A DETECTOR SIMULATION:
-
run
makein yourdetectorSimulations_v10directory -
create a new build directory
-
run
cmake -DGeant4_DIR=/opt/geant4.10.01.p03-install/lib64/Geant4-10.1.3/ ~/detectorSimulations_v10/in this build directory [see notes in step 7]. -
run
makein this build directory
*** repeat steps 3, 4 (without make clean), 9, and 12 for every change to the Geant4/detector simulation source code.