Introduction to GEANT4
From UCL HEP PBT Wiki
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. | |
- | + | ||
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> === | ||
- | + | 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"> | + | === <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. | ||
+ | |||
- | |||
== <span style="color:#000080"> Generate primary particles </span> == | == <span style="color:#000080"> Generate primary particles </span> == |