- Geant 4
- ROOT 5/6
git clone https://github.com/eic/compton.git
cd compton
mkdir build
cd build
cmake ../
make
cd ../
By default run the simulation from the main directory.
- Run as a batch job for a given number of events
./build/run run.mac
- Or run with visualization
./build/run
All objects in the simulation are defined in the magnet file, change magFile/worldVol in init_vic.mac to specify the needed magnet file/world volume.