Introduction to GEANT4
From UCL HEP PBT Wiki
m |
m |
||
Line 152: | Line 152: | ||
* ConstructParticles() : Define all necessary particles; | * ConstructParticles() : Define all necessary particles; | ||
- | * ConstructProcesses() : Define all necessary processes and assign them to | + | * ConstructProcesses() : Define all necessary processes and assign them to corresponding particles; |
* SetCuts() : Define production thresholds in terms of range; | * SetCuts() : Define production thresholds in terms of range; | ||
Line 275: | Line 275: | ||
=== <span style="color:#000080"> Detailed physics lists </span> === | === <span style="color:#000080"> Detailed physics lists </span> === | ||
- | If you want to build more realistic physics list you have to use the class <span style="color:#ff0000"> G4VModularPhysicsList </span>. In <span style="color:#ff0000"> G4VModularPhysicsList </span> you can group the physics processes into separate modules | + | If you want to build more realistic physics list you have to use the class <span style="color:#ff0000"> G4VModularPhysicsList </span>. In <span style="color:#ff0000"> G4VModularPhysicsList </span> you can group the physics processes into separate modules which are already pre-build physics list and later chose one of those modules. |
<u> Simple example of class <span style="color:#ff0000"> MyPhysicsList </span> </u>: | <u> Simple example of class <span style="color:#ff0000"> MyPhysicsList </span> </u>: | ||
Line 488: | Line 488: | ||
=== <span style="color:#000080"> Trajectory </span> === | === <span style="color:#000080"> Trajectory </span> === | ||
- | Trajectories are represented by classes <span style="color:#ff0000"> G4Trajectory </span> and <span style="color:#ff0000"> G4TrajectoryPoint </span>. <span style="color:#ff0000"> G4Trajectory </span> class copies some of the <span style="color:#ff0000"> G4Track </span> class information. <span style="color:#ff0000"> G4TrajectoryPoint </span> is the class which copies some of <span style="color:#ff0000"> G4Step </span> information. | + | Trajectories are represented by classes <span style="color:#ff0000"> G4Trajectory </span> and <span style="color:#ff0000"> G4TrajectoryPoint </span>. <span style="color:#ff0000"> G4Trajectory </span> class copies some of the <span style="color:#ff0000"> G4Track </span> class information. <span style="color:#ff0000"> G4TrajectoryPoint </span> is the class which copies some of the <span style="color:#ff0000"> G4Step </span> information. |