Main Page

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
Line 12: Line 12:
* Where to get help  
* Where to get help  
-
You can write to the discussion forum.
+
You can write to the discussion forum by clicking the “discussion” tab at the top of the page.
-
Useful help links.
+
-
 
+
== <span style="color:#000080"> The basics of GEANT4 </span> ==
== <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. You can use GEANT4 by creating your own simulation applications using the available GEANT4 tools.  
-
 
+
-
* 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.
+
* [[Introduction to GEANT4]] will help you understand the basics of GEANT4 and what are 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://hypernews.slac.stanford.edu/HyperNews/geant4/cindex http://hypernews.slac.stanford.edu/HyperNews/geant4/cindex]
 +
** [http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/FAQ/html/index.html Frequentry Asked Questions]
== <span style="color:#000080"> Basic tutorials </span> ==
== <span style="color:#000080"> Basic tutorials </span> ==

Revision as of 10:03, 3 July 2014

Personal tools