ANASEN_analysis/Armory/AnasenG4/README.md
2026-07-15 11:26:38 -04:00

35 lines
791 B
Markdown

# AnasenG4 Geant4 Simulation
This folder contains a minimal Geant4 application that:
- builds the ANASEN detector geometry,
- adds a helium target volume,
- generates outgoing proton events from an `18Ne + 4He` alpha/p reaction using the external `ClassTransfer` reaction model,
- and propagates the particles with the Geant4 `FTFP_BERT` physics list.
## Build
```bash
cd /home/jamesszalkie/anasen/Armory/AnasenG4
rm -rf build
mkdir build
cd build
cmake ..
make -j4
```
## Run
```bash
cd /home/jamesszalkie/anasen/Armory/AnasenG4
./build/AnasenG4 macros/run.mac
```
## Notes
- The reaction generator uses `/home/jamesszalkie/anasen/Armory/mass20.txt` for isotope mass lookups.
- You can also run the interactive visualization macro:
```bash
./build/AnasenG4 macros/init_vis.mac
```