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