#include "MyMaterials.hh"
Definition at line 41 of file MyMaterials.hh.
MyMaterials::MyMaterials |
( |
| ) |
|
MyMaterials::~MyMaterials |
( |
| ) |
|
void MyMaterials::Construct |
( |
| ) |
|
Definition at line 57 of file MyMaterials.cc.
References Z.
Referenced by BOOST_PYTHON_MODULE().
65 G4Element* elH =
new G4Element(
"Hydrogen",
"H", Z=1., A=1.00794*g/mole);
66 G4Element* elC =
new G4Element(
"Carbon",
"C", Z=6., A= 12.011 *g/mole);
67 G4Element* elN =
new G4Element(
"Nitrogen",
"N", Z=7., A= 14.00674*g/mole);
68 G4Element* elO =
new G4Element(
"Oxygen",
"O", Z=8., A= 15.9994*g/mole);
73 G4double density, massfraction;
77 const G4double expTemp= STP_Temperature+20.*kelvin;
80 density= universe_mean_density;
81 G4Material* Vacuum=
new G4Material(
"Vacuum", density, nel=2);
82 Vacuum-> AddElement(elN, .7);
83 Vacuum-> AddElement(elO, .3);
86 density= 1.2929e-03 *g/cm3;
87 G4Material* Air=
new G4Material(
"Air", density, nel=2,
89 G4double ttt= 75.47+23.20;
90 Air-> AddElement(elN, massfraction= 75.47/ttt);
91 Air-> AddElement(elO, massfraction= 23.20/ttt);
95 G4Material* H2O=
new G4Material(
"Water", density, nel=2);
96 H2O-> AddElement(elH, natoms=2);
97 H2O-> AddElement(elO, natoms=1);
101 density= 2.70 *g/cm3;
102 G4Material* Al=
new G4Material(
"Al", Z=13., A, density);
106 density= 7.87 *g/cm3;
107 G4Material* Fe=
new G4Material(
"Iron", Z=26., A, density);
111 density= 11.35 *g/cm3;
112 G4Material* Pb=
new G4Material(
"Lead", Z=82., A, density);
115 density= 1.032 *g/cm3;
116 G4Material* Scinti=
new G4Material(
"Scinti", density, nel=2);
117 Scinti-> AddElement(elC, natoms=8);
118 Scinti-> AddElement(elH, natoms=8);
The documentation for this class was generated from the following files:
- geant4.10.06.p01/environments/g4py/examples/demos/water_phantom/module/MyMaterials.hh
- geant4.10.06.p01/environments/g4py/examples/demos/water_phantom/module/MyMaterials.cc