Contact <seeson@pku.edu.cn> on any problem.
Setup ROOT and Geant4 environment before everything.
Compile at the first time:
cd mudet
mkdir build
cd build
cmake ..
make -j
Recompile (needed on any modification on source files (.cc
)) afterwards:
cd mudet/build
make -j
Launch GUI:
cd mudet/build
./mudet
Launch simulation (with multi-thread parallelism):
cd mudet/build
./run.sh
Analyze data from the previous step:
- Analysis template: analysis/Template.C
- Draw incoming energy distribution: analysis/Energy.C
- Draw energy loss distribution: analysis/EnergyLoss.C