Introduction to GEANT4

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
Line 115: Line 115:
== <span style="color:#000080"> Physics processes </span> ==  
== <span style="color:#000080"> Physics processes </span> ==  
-
 
+
You can build your own physics list or chose from already built physics lists. You can use two base physics list classes: <span style="color:#ff0000"> G4VUserPhysicsList </span> and <span style="color:#ff0000"> G4ModularPhysicsList </span> to build your own physics lists. The class <span style="color:#ff0000"> G4VUserPhysicsList </span> is used for simple physics lists while <span style="color:#ff0000"> G4ModularPhysicsList </span> is used to build more complex physics lists. Already built physics lists are called reference physics lists.
-
There are two base physics list classes: <span style="color:#ff0000"> G4VUserPhysicsList </span> and <span style="color:#ff0000"> G4ModularPhysicsList </span>. <span style="color:#ff0000"> G4VUserPhysicsList </span> is used for simple physics lists while <span style="color:#ff0000"> G4ModularPhysicsList </span> is used to define more complex physics lists. There is a possibility to use also pre-packaged physics lists.    
+
Line 122: Line 121:
-
If the particles in your simulation undergo a descrete number of physics processes you can use the class <span style="color:#ff0000"> G4VUserPhysicsList </span>. This class 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> to define them. This class has three methods:
* ConstructParticles(): define all necessary particles;   
* ConstructParticles(): define all necessary particles;   
Line 247: Line 246:
=== <span style="color:#000080"> Detailed physics lists </span> ===  
=== <span style="color:#000080"> Detailed physics lists </span> ===  
-
A realistic physics list has a lot of different physics processes. For example, the photon from the above example can undergo compton scattering apart from conversion. In this case we use <span style="color:#ff0000"> G4VModularPhysicsList </span> which is derived from <span style="color:#ff0000"> G4VUserPhysicsList </span>. In <span style="color:#ff0000"> G4VModularPhysicsList </span> you can group the physics processes into EM physics, hadronic physics, optical physics groups etc.  
+
If you want to build more realistic physics list you have to use the class <span style="color:#ff0000"> G4VModularPhysicsList </span>. For example, the photon from the example above can undergo compton scattering apart from conversion. In <span style="color:#ff0000"> G4VModularPhysicsList </span> you can group the physics processes into separate modules: EM physics, hadronic physics, optical physics groups etc.  
Line 288: Line 287:
-
=== <span style="color:#000080"> Pre-packaged physics lists </span> ===
+
=== <span style="color:#000080"> Reference physics lists </span> ===
 +
 
 +
Some built in electromagnetic and hadronic physics lists are available [http://geant4.web.cern.ch/geant4/support/proc_mod_catalog/physics_lists/referencePL.shtml here]. You can use them as a starting point of your simulation.   
 +
 
-
Some pre-packaged electromagnetic and hadronic physics lists are available [http://geant4.cern.ch/support/proc_mod_catalog/physics_lists/ here]. These lists are provided as a best guess of the physics needed in a given case. You can use them as a starting point of your simulation. Later, you can add or substract physics processes appropriate for your simulation. 
 
== <span style="color:#000080"> Generate primary particles </span> ==  
== <span style="color:#000080"> Generate primary particles </span> ==  

Revision as of 17:26, 7 July 2014

Personal tools