Introduction to GEANT4

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
Line 122: Line 122:
The elements and materials are defined using classes <span style="color:#ff0000"> G4Element </span> and <span style="color:#ff0000"> G4Material </span>. For example water, hydrogen and oxygen are defined as:
The elements and materials are defined using classes <span style="color:#ff0000"> G4Element </span> and <span style="color:#ff0000"> G4Material </span>. For example water, hydrogen and oxygen are defined as:
 +
<span style="color:#800000"> void DetectorConstruction::DefineMaterials() { </span>
<span style="color:#800000"> void DetectorConstruction::DefineMaterials() { </span>

Revision as of 10:45, 8 July 2014

Personal tools