2.3.6. Define a Material from the Base Material It is possible to build new material on base of an existing "base" material. This feature is useful for electromagnetic physics allowing to peak up for the derived material all correction data and precomputed tables of stopping powers and cross sections of the base material. In the example below, two methods how to create water with unusual density are shown. Example 2.11. Defining water with user defined density on base of G4_WATER. G4double density; density = 1.05*mg/cm3; G4Material* water1 = new G4Material("Water_1.05",density,"G4_WATER"); density = 1.03*mg/cm3; G4NistManager* man = G4NistManager::Instance(); G4Material* water2 = man->BuildMaterialWithNewDensity("Water_1.03","G4_WATER",density); 2.3.7. Print Material Information Example 2.12. Printing information about materials. G4cout << H2O; \\ print a given material G4cout << *(G4Material::GetMaterialTable()); \\ print the list of materials In Geant4 examples you all possible ways to build a material. 2.3.8. Access to Geant4 material database Example 2.13. Geant4 material database may be accessed via UI commands. /material/nist/printElement Fe \\ print element by name /material/nist/printElementZ 13 \\ print element by atomic number /material/nist/listMaterials type \\ print materials type = [simple | compound | hep | all] /material/g4/printElement elmName \\ print instantiated element by name /material/g4/printMaterial matName \\ print instantiated material by name ### some useful methods of G4MATERIAL ### G4double GetDensity() const {return fDensity;} G4State GetState() const {return fState;} G4double GetTemperature() const {return fTemp;} G4double GetPressure() const {return fPressure;}