ANASEN_analysis/Armory/AnasenG4
2026-07-15 16:10:37 -04:00
..
build QQQ punchthrough 2026-07-15 16:10:37 -04:00
include QQQ punchthrough 2026-07-15 16:10:37 -04:00
src QQQ punchthrough 2026-07-15 16:10:37 -04:00
G4History.macro QQQ punchthrough 2026-07-15 16:10:37 -04:00
init_vis.mac geant code and sx3 thickness correction 2026-07-15 11:26:38 -04:00
README.md geant code and sx3 thickness correction 2026-07-15 11:26:38 -04:00
run.mac QQQ punchthrough 2026-07-15 16:10:37 -04:00
vis.mac fixed beam and macros 2026-07-15 14:25:28 -04:00

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

cd /home/jamesszalkie/anasen/Armory/AnasenG4
rm -rf build
mkdir build
cd build
cmake ..
make -j4

Run

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:
./build/AnasenG4 macros/init_vis.mac