Introduction to GEANT4

From UCL HEP PBT Wiki

Jump to: navigation, search
m
Line 122: Line 122:
-
You can use the class <span style="color:#ff0000"> G4VUserPhysicsList </span> if you want simple physics lists. <span style="color:#ff0000"> G4VUserPhysicsList </span> has three methods:
+
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 </span> derived from <span style="color:#ff0000"> G4VUserPhysicsList </span> </u>:  
+
<u> Simple example of <span style="color:#ff0000"> class MyPhysicsList </span> </u>:  
Line 178: Line 178:
-
In method ConstructProcess() you define your physics processes:
+
In method ConstructProcess() define your physics processes:
    
    
Line 198: Line 198:
-
In methods ConstructEM() and ConstructGeneral() you assign the physics processes to the corresponding particles:  
+
In methods ConstructEM() and ConstructGeneral() assign the physics processes to the corresponding particles:  
Line 239: Line 239:
-
This is a link to the physics processes available for each particles [http://geant4.cern.ch/support/proc_mod_catalog/particles/ Physics Process for Particles].  
+
This is the [http://geant4.cern.ch/support/proc_mod_catalog/particles/ full list] of physics processes available for each particles.    

Revision as of 15:23, 7 July 2014

Personal tools