3.1.1.4.1.8. opengate.geometry.MaterialDatabase

3.1.1.4.1.8.1. Module Contents

3.1.1.4.1.8.1.1. Classes

MaterialDatabase

Manage a unique list of Geant4 materials and elements.

class opengate.geometry.MaterialDatabase.MaterialDatabase[source]

Manage a unique list of Geant4 materials and elements. The materials/elements are read in a DB txt file or in NIST. They are only build on demand, during the geometry Construct

__del__()[source]
read_from_file(filename)[source]
read_one_item(f, line)[source]
init_NIST()[source]
FindOrBuildMaterial(material_name)[source]
FindOrBuildElement(element_name)[source]
get_database_material_names(db=None)[source]