Difference between revisions of "Simulations of Particle Interactions with Matter"
Line 44: | Line 44: | ||
/random/setSavingFlag 1 | /random/setSavingFlag 1 | ||
+ | |||
/random/saveThisRun | /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 | You can restore the random number generator and begin generating random number from the last save time | ||
− | /random/resetEngineFrom | + | /random/resetEngineFrom currentEvent.rndm |
==Building GEANT4.9.5== | ==Building GEANT4.9.5== |
Revision as of 21:32, 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
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
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