Software/Geant4: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
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.   
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.   


In order to use the UCL HEP Linux cluster, you will need a HEP account: please contact Dr. Simon Jolly for more details. 


* Getting a computing account
For more information on using Geant4 on the HEP Linux cluster, see the [[/HEPCluster|UCL HEP Linux Cluster page]].
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 <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''/.
In order to install your own version of Geant4, you will need to download and compile the course code from the [http://geant4.web.cern.ch/geant4/ CERN Geant4 website].
 
Extensive instructions have been put together describing how to compile the code yourself.
The best place to start is the [[/Installation|Geant4 Installation page]].
 
* [[Downloading the Geant4 package]]
* [[Linux terminal]]
* [[Installing Geant4]]
* [[Updating Geant4]]
* [[Running an example]]


== [[/Tutorials|Tutorials]] ==
== [[/Tutorials|Tutorials]] ==
Line 45: Line 54:
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]
== Installing GEANT4 locally ==
* [[Downloading the Geant4 package]]
* [[Linux terminal]]
* [[Installing Geant4]]
* [[Updating Geant4]]
* [[Running an example]]

Revision as of 17:22, 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.

In order to use the UCL HEP Linux cluster, you will need a HEP account: please contact Dr. Simon Jolly for more details.

For more information on using Geant4 on the HEP Linux cluster, see the UCL HEP Linux Cluster page.

In order to install your own version of Geant4, you will need to download and compile the course code from the CERN Geant4 website.

Extensive instructions have been put together describing how to compile the code yourself. The best place to start is the Geant4 Installation page.

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: