Main Page

From UCL HEP PBT Wiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
-
== Introduction ==
+
== <span style="color:#000080"> Introduction </span> ==
-
----
+
 
This is a tutorial about applications of GEANT4 to medical physics. The GEANT4 is installed on the HEP Linux cluster at UCL. You will need an account on that cluster to be able to use this software, run example tutorials and create your own applications.
This is a tutorial about applications of GEANT4 to medical physics. The GEANT4 is installed on the HEP Linux cluster at UCL. You will need an account on that cluster to be able to use this software, run example tutorials and create your own applications.
-
== Accounts and Registration ==
+
== <span style="color:#000080"> Accounts and Registration </span> ==
-
----
+
* Getting a computing account
* Getting a computing account
Line 16: Line 15:
Useful help links.  
Useful help links.  
-
== The basics of GEANT4 ==
+
== span style="color:#000080"> The basics of GEANT4 </span> ==
----
----
GEANT4 is a toolkit for simulating the passage of particles through matter. The user creates his/her own simulation application using GEANT4 tools. The tools are base classes. There are eight base classes.   
GEANT4 is a toolkit for simulating the passage of particles through matter. The user creates his/her own simulation application using GEANT4 tools. The tools are base classes. There are eight base classes.   
Line 44: Line 43:
You can create your own classes which are derived from the base classes. All of them should be registered with the G4RunManager. In function main() which is the skeleton of your simulation code you instantiate G4RunManager and notify it of your mandatory and optional classes.
You can create your own classes which are derived from the base classes. All of them should be registered with the G4RunManager. In function main() which is the skeleton of your simulation code you instantiate G4RunManager and notify it of your mandatory and optional classes.
-
== Basic tutorials ==
+
== span style="color:#000080"> Basic tutorials </span> ==
-
----
+
 
This section includes several basic tutorials:
This section includes several basic tutorials:
Line 55: Line 54:
* [[Several proton beams with spread out Bragg peaks]] is a complex code which shows the dose distribution in water with several incident monoenergetic proton beams.   
* [[Several proton beams with spread out Bragg peaks]] is a complex code which shows the dose distribution in water with several incident monoenergetic proton beams.   
-
== Advanced tutorials ==
+
== span style="color:#000080"> Advanced tutorials </span> ==
-
----
+
 
This section includes several advanced tutorials:
This section includes several advanced tutorials:
Line 63: Line 62:
* [[High-precision dosimetry]]
* [[High-precision dosimetry]]
-
== Installing GEANT4 locally ==
+
== span style="color:#000080"> Installing GEANT4 locally </span> ==
-
----
+

Revision as of 09:19, 3 July 2014

Contents

Introduction

This is a tutorial about applications of GEANT4 to medical physics. The GEANT4 is installed on the HEP Linux cluster at UCL. You will need an account on that cluster to be able to use this software, run example tutorials and create your own applications.

Accounts and Registration

  • Getting a computing account

Apply for a computing account on the HEP Linux cluster by sending e-mail to HEPComputingSupport. In your e-mail you have to state the reason for your application (e.g. medical physics student who will use GEANT4 on the HEP cluster).

You will receive an e-mail from the HEP computing support with your username and password. Now you can log in to the HEP cluster “plus1” via ssh username@plus1.hep.ucl.ac.uk. Your personal area will be at /home/username/.

  • Where to get help

You can write to the discussion forum. Useful help links.

span style="color:#000080"> The basics of GEANT4 </span>


GEANT4 is a toolkit for simulating the passage of particles through matter. The user creates his/her own simulation application using GEANT4 tools. The tools are base classes. There are eight base classes.

  • Three classes are mandatory
G4VUserDetectorConstruction
Describe the experimental setup, geometry and materials
G4VUserPhysicsList
Define particles, physics processes and range cuts
G4UserPrimaryGeneratorAction
Describe particle source, source dimensions, initial position, energy spectrum, angular distributions
  • The rest are optional
G4UserRunAction
Define and store histograms
G4UserEventAction
Event selection and analysis of simulation data
G4UserStackingAction
Customize priority of tracks
G4UserTrackingAction
Decide whether a trajectory should be stored or not
G4UserSteppingAction
Kill, suspend, postpone a track

You can create your own classes which are derived from the base classes. All of them should be registered with the G4RunManager. In function main() which is the skeleton of your simulation code you instantiate G4RunManager and notify it of your mandatory and optional classes.

span style="color:#000080"> Basic tutorials </span>

This section includes several basic tutorials:

span style="color:#000080"> Advanced tutorials </span>

This section includes several advanced tutorials:

span style="color:#000080"> Installing GEANT4 locally </span>

Personal tools