Introduction to GEANT4
From UCL HEP PBT Wiki
m |
m |
||
Line 117: | Line 117: | ||
* <span style="color:#ff0000"> G4ParticleGun </span> is used to simulate a beam of particles. It shoots a primary particle of a certain energy and direction from a given point at a given time. | * <span style="color:#ff0000"> G4ParticleGun </span> is used to simulate a beam of particles. It shoots a primary particle of a certain energy and direction from a given point at a given time. | ||
- | * <span style="color:#ff0000"> G4GeneralParticleSource </span> the primary vertex is randomly chosen on surface of a given volume with pre-defined energy spectra. | + | * <span style="color:#ff0000"> G4GeneralParticleSource </span> simulates a beam of particles and the primary vertex is randomly chosen on surface of a given volume with pre-defined energy spectra, spatial and angular distribution. |
== <span style="color:#000080"> Optional user classes </span> == | == <span style="color:#000080"> Optional user classes </span> == |