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.sh
with a text editor and replace the paths to the original source directories if necessary -
run
chmod u+x rsyncit.sh
if the file is not executable -
run
./rsyncit.sh
-
run
make clean
and thenmake
andmake install
in your Geant4 build directory
FOR A PURE SIMULATION:
-
run
make
inrdecay01
-
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-install
like mine was, and that you've checked out this repository into your home directory. You may also havecmake3
installed, as opposed tocmake
. -
run
make
in 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
make
in yourdetectorSimulations_v10
directory -
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
make
in this build directory
*** repeat steps 3, 4 (without make clean
), 9, and 12 for every change to the Geant4/detector simulation source code.