Simulations of Particle Interactions with Matter
Class Admin
Homework Problems
HomeWork_Simulations_of_Particle_Interactions_with_Matter
Introduction
Energy Loss
Ann. Phys. vol. 5, 325, (1930)
Interactions of Electrons and Photons with Matter
Hadronic Interactions
Resources
Saving/restoring Random number see
You save the current state of the random number generator with the command
/random/setSavingFlag 1
/random/saveThisRun
A file is created called
currentEvent.rndm
You can restore the random number generator and begin generating random number from the last save time
/random/resetEngineFrom currentEvent.rndm
Building GEANT4.9.5
An old version of Installation notes for versions prior to 9.5
Visualization Libraries:
Compiling G4 with ROOT
These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired particle)
Using SLURM
http://slurm.schedmd.com/quickstart.html
https://rc.fas.harvard.edu/resources/documentation/convenient-slurm-commands/
simple batch script for one process job
create the file submit.sbatch below
#!/bin/sh #SBATCH --time=1 cd src/PI ./PI_MC 100000000000000
the execute
- sbatch submit.sbatch
check if its running with
- squeue