Difference between revisions of "Simulations of Particle Interactions with Matter"
Jump to navigation
Jump to search
Line 43: | Line 43: | ||
You save the current state of the random number generator with the command | You save the current state of the random number generator with the command | ||
+ | /random/setSavingFlag 1 | ||
/random/saveThisRun | /random/saveThisRun | ||
Revision as of 21:27, 17 December 2014
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
You can restore the random number generator and begin generating random number from the last save time
/random/resetEngineFrom filename
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
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