Introduction to GEANT4
From UCL HEP PBT Wiki
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>: |