Introduction to GEANT4

From UCL HEP PBT Wiki

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

Revision as of 07:49, 7 July 2014

Personal tools