Introduction to GEANT4

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
Line 25: Line 25:
* <span style="color:#800000"> G4RunManager </span>: Manages the simulation process   
* <span style="color:#800000"> G4RunManager </span>: Manages the simulation process   
-
The function main() is the skeleton of your simulation code. Inside the function you instantiate G4RunManager and notify it of your mandatory and optional classes.   
+
The function <span style="color:#ff0000"> '''main()''' </span> defines the skeleton of your simulation code. Inside the function you instantiate G4RunManager and notify it of your mandatory and optional classes.   
-
Example main() function:
+
Example <span style="color:#ff0000"> '''main()''' </span> function:

Revision as of 12:51, 3 July 2014

Personal tools