Introduction to GEANT4
From UCL HEP PBT Wiki
m |
m |
||
| Line 116: | Line 116: | ||
| - | There are two base physics list classes: <span style="color:#ff0000"> G4VUserPhysicsList </span> and <span style="color:#ff0000"> G4ModularPhysicsList </span>. | + | There are two base physics list classes: <span style="color:#ff0000"> G4VUserPhysicsList </span> and <span style="color:#ff0000"> G4ModularPhysicsList </span>. |
| Line 183: | Line 183: | ||
<span style="color:#800000"> void MyPhysicsList :: ConstructProcess() { </span> | <span style="color:#800000"> void MyPhysicsList :: ConstructProcess() { </span> | ||
| - | <span style="color:#800000"> // Assign transportation process to all particles </span> | + | <span style="color:#800000"> AddTransportation(); // Assign transportation process to all particles </span> |
| - | <span style="color:#800000"> | + | <span style="color:#800000"> ConstructEM(); // Electromagnetic processes </span> |
| - | + | <span style="color:#800000"> ConstructGeneral(); // Other processes } </span> | |
| - | <span style="color:#800000"> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| Line 294: | Line 286: | ||
<span style="color:#800000"> {SetCutsWithDefault();} </span> | <span style="color:#800000"> {SetCutsWithDefault();} </span> | ||
| + | |||
| + | |||
| + | === <span style="color:#000080"> Pre-packaged physics lists </span> === | ||
| + | |||
| + | Some pre-packaged electromagnetic and hadronic physics lists are available [http://geant4.cern.ch/support/proc_mod_catalog/physics_lists/ here]. | ||