Introduction to GEANT4
From UCL HEP PBT Wiki
m |
|||
Line 122: | Line 122: | ||
- | + | If the particles in your simulation undergo a descrete number of physics processes you can use the class <span style="color:#ff0000"> G4VUserPhysicsList </span>. <span style="color:#ff0000"> G4VUserPhysicsList </span> has three methods: | |
* ConstructParticles(): define all necessary particles; | * ConstructParticles(): define all necessary particles; | ||
Line 129: | Line 129: | ||
- | <u> Simple example of <span style="color:#ff0000"> MyPhysicsList | + | <u> Simple example of <span style="color:#ff0000"> class MyPhysicsList </span> </u>: |
Line 178: | Line 178: | ||
- | In method ConstructProcess() | + | In method ConstructProcess() define your physics processes: |
Line 198: | Line 198: | ||
- | In methods ConstructEM() and ConstructGeneral() | + | In methods ConstructEM() and ConstructGeneral() assign the physics processes to the corresponding particles: |
Line 239: | Line 239: | ||
- | This is | + | This is the [http://geant4.cern.ch/support/proc_mod_catalog/particles/ full list] of physics processes available for each particles. |