/argon_box

Primitive Python-based Geant4 simulation of particle interactions in liquid argon

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

argon_box

Very primitive Python-based Geant4 simulation of particle interactions in liquid argon.

Dependencies:

  • ROOT
  • Geant4
  • g4py (which requires boost and XercesC)

Example Usage:

Mono-energetic particles:

$ python argon_box.py --nevents=100 --source='e-' --energy=2.0 --output='electron_2GeV_sim.root'

HepEVT data:

$ python argon_box.py --nevents=100 --source='input.hepevt' --output='hepevt_sim.root'

Other useful options:

--seed=N: Change random seed
--physlist='QGSP_BERT': Set G4 Physics list (FTFP_BERT, QGSP_BERT, QGSP_BERT_HP)
--enable_edepsim: Enable primitive simulation of 3-D energy depositions
--edep_step: Energy deposition step size, in mm