Difference between revisions of "Simulations of Particle Interactions with Matter"

From New IAC Wiki
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/saveEngin filename
+
/random/saveThisRun
 +
 
 +
You can restore the random number generator and begin generating random number from the last save time
  
 
/random/resetEngineFrom filename
 
/random/resetEngineFrom filename
 
 
  
 
==Building GEANT4.9.5==
 
==Building GEANT4.9.5==

Revision as of 21:22, 17 December 2014

Class Admin

TF_SPIM_ClassAdmin

Homework Problems

HomeWork_Simulations_of_Particle_Interactions_with_Matter

Introduction

TF_SPIM_Intro

Energy Loss

TF_SPIM_StoppingPower

Ann. Phys. vol. 5, 325, (1930)

Interactions of Electrons and Photons with Matter

TF_SPIM_e-gamma

Hadronic Interactions

TF_SPIM_HadronicInteractions

Resources

GEANT4 Home Page

ROOT Home page

Fermi Lab Example


NIST Range Tables

X-ray specturm

Installing_GEANT4.9.3_Fsim

Saving/restoring Random number see

You save the current state of the random number generator with the command

/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

TF_GEANT4.9.5

An old version of Installation notes for versions prior to 9.5

Old Install Notes


Visualization Libraries:

OpenGL

DAWN


Coin3D

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)

G4CompileWRootforTracks

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

TF_SPIM_OLD