Software/Geant4: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
(Created page with "== Introduction == This is a tutorial about applications of GEANT4 to medical physics. GEANT4 is installed on the HEP Linux cluster at UCL. You will need an account on that cl...")
 
No edit summary
Line 1: Line 1:
== Introduction ==
== Geant4 ==
 
GEANT4 is a toolkit for simulating the passage of particles through matter. You can use GEANT4 by creating your own simulation applications using the available GEANT4 tools.
 
* [[/Introduction|Introduction to GEANT4]] will help you understand the basics of GEANT4 and the necessary ingredients to write your own application. 
* Useful links:
** [http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ Geant4 User's Guide for Application Developers]
** [http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/PhysicsReferenceManual/html/PhysicsReferenceManual.html Physics Reference Manual]
** [http://www-geant4.kek.jp/Reference/10.00/index.html GEANT4 Classes]
** [http://hypernews.slac.stanford.edu/HyperNews/geant4/cindex GEANT4 hypernews]
** [http://www-geant4.kek.jp/LXR/ Geant4 Cross Reference]
** [http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/FAQ/html/index.html Frequently Asked Questions]


This is a tutorial about applications of GEANT4 to medical physics.  
This is a tutorial about applications of GEANT4 to medical physics.  
Line 5: Line 16:
You will need an account on that cluster to be able to use this software, run example tutorials and create your own applications.
You will need an account on that cluster to be able to use this software, run example tutorials and create your own applications.


== Accounts ==
== Running Geant4 Simulations ==
 
In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster. 
 


* Getting a computing account
* Getting a computing account
Line 12: Line 26:
You will receive an e-mail from the HEP computing support with your <code>username</code> and ''password''. Now you can log in to the HEP cluster plus1 via  ssh ''username''@plus1.hep.ucl.ac.uk. Your personal area on plus1 cluster will be at /home/''username''/.
You will receive an e-mail from the HEP computing support with your <code>username</code> and ''password''. Now you can log in to the HEP cluster plus1 via  ssh ''username''@plus1.hep.ucl.ac.uk. Your personal area on plus1 cluster will be at /home/''username''/.


== The basics of GEANT4 ==
== [[/Tutorials|Tutorials]] ==
 
A number of tutorials are available to help you get started running your own simulations. 
It is recommended that novice users make use of these simulations as templates to construct their own.


GEANT4 is a toolkit for simulating the passage of particles through matter. You can use GEANT4 by creating your own simulation applications using the available GEANT4 tools.
There are two sets of tutorials available to help you getting started in running simulations with Geant4:


* [[Software/Geant4/Introduction|Introduction to GEANT4]] will help you understand the basics of GEANT4 and the necessary ingredients to write your own application. 
* [[/Tutorials/Basic|The Basic Tutorials]] introduce the rudiments of Geant4 for proton therapy simulations: these are described in more detail on the [[/Tutorials/Basic|Basic Tutorials page]].
* Useful links:
* [[/Tutorials/Advanced|The Advanced Tutorials]] describe more sophisticated proton therapy simulations in Geant4: more information can be found on the [[/Tutorials/Advanced|Advanced Tutorials page]].
** [http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ Geant4 User's Guide for Application Developers]
** [http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/PhysicsReferenceManual/html/PhysicsReferenceManual.html Physics Reference Manual]
** [http://www-geant4.kek.jp/Reference/10.00/index.html GEANT4 Classes]
** [http://hypernews.slac.stanford.edu/HyperNews/geant4/cindex GEANT4 hypernews]
** [http://www-geant4.kek.jp/LXR/ Geant4 Cross Reference]
** [http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/FAQ/html/index.html Frequently Asked Questions]


== Data Analysis Software ==
== Data Analysis Software ==
Line 34: Line 45:
Similarly, data can be analysed using MATLAB. This is a link to interactive introduction to MATLAB:
Similarly, data can be analysed using MATLAB. This is a link to interactive introduction to MATLAB:
* [http://www.see.ed.ac.uk/teaching/courses/matlab/ MATLAB introduction]
* [http://www.see.ed.ac.uk/teaching/courses/matlab/ MATLAB introduction]
== Tutorials ==
There are two sets of tutorials available to help you getting started in running simulations with Geant4:
=== Basic ===
There are several basic tutorials that introduce the rudiments of Geant4 simulations for proton therapy:
* [[Software/Geant4/Tutorials/Basic/Monoenergetic Photon Pencil Beam|Monoenergetic Photon Pencil Beam]] is a simple code which shows the dose deposition in water along the incident monoenergetic photon beam.
* [[Software/Geant4/Tutorials/Basic/Monoenergetic Proton Pencil Beam|Monoenergetic Proton Pencil Beam]] is a simple code which shows the dose deposition in water along the incident monoenergetic proton beam.
* [[Software/Geant4/Tutorials/Basic/Proton Beam With Realistic Geometry|Proton Beam With Realistic Geometry]] is a simple code with realistic geometry of the proton beam. The primary particles are generated with initial energy, position and direction described by Gaussian distributions. Computed is the dose deposition in water along the beam.
* [[Software/Geant4/Tutorials/Basic/Spread Out Bragg Peaks|Several proton beams with spread out Bragg Peaks]] is a simple code which shows the dose deposition in water from several incident monoenergetic proton beams. 
* [[Software/Geant4/Tutorials/Basic/Electron Beam Using Phase-Space Files|Electron Beam Using Phase-Space Files]] is a simple code which shows the dose deposition in water along the incident electron beam using phase-space data files.
=== Advanced ===
There are two more advanced tutorials available:
* [[Software/Geant4/Tutorials/Advanced/Computed Tomography|Computed Tomography]]
* [[Software/Geant4/Tutorials/Advanced/High-Precision Dosimetry|High-Precision Dosimetry]]


== Installing GEANT4 locally ==
== Installing GEANT4 locally ==

Revision as of 17:16, 1 April 2016

Geant4

GEANT4 is a toolkit for simulating the passage of particles through matter. You can use GEANT4 by creating your own simulation applications using the available GEANT4 tools.

This is a tutorial about applications of GEANT4 to medical physics. 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.

Running Geant4 Simulations

In order to run Geant4 simulations, you will either need to download and install the software yourself or make use of the existing installation on the UCL HEP Linux cluster.


  • Getting a computing account

Apply for a computing account on the HEP Linux cluster by sending e-mail to UCL HEP Computing Support. 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 on plus1 cluster will be at /home/username/.

Tutorials

A number of tutorials are available to help you get started running your own simulations. It is recommended that novice users make use of these simulations as templates to construct their own.

There are two sets of tutorials available to help you getting started in running simulations with Geant4:

Data Analysis Software

These tutorials use ROOT to analyse data. Useful links:

Similarly, data can be analysed using MATLAB. This is a link to interactive introduction to MATLAB:

Installing GEANT4 locally