This was part of an undergraduate student chose physics project. The muon lifetime measurement was conducted using the Muon Physics equipment from TeachSpin. In addition to the experimental analysis, I wanted to see if I can simulate the environment in Geant4, which I followed a tutorial on YouTube for the basic set ups. The code is fully written in C++.
Both of the Geant4 and the ROOT packages need to be installed. ROOT is needed for data visulizations.