Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BrachyMaterial.cc
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // Code developed by:
27 // S.Guatelli
28 //
29 // *******************************
30 // * *
31 // * BrachyMaterial.cc *
32 // * *
33 // *******************************
34 //
35 // $Id$
36 //
37 
38 #include "globals.hh"
39 #include "Randomize.hh"
40 #include "G4PhysicalConstants.hh"
41 #include "G4SystemOfUnits.hh"
42 #include "G4MaterialTable.hh"
45 #include "G4RunManager.hh"
46 #include "G4Element.hh"
47 #include "G4ElementTable.hh"
48 #include "BrachyMaterial.hh"
49 
51 {;}
52 
54 {;}
55 
57 {
58  // Define required materials
59 
60  G4double A; // atomic mass
61  G4double Z; // atomic number
62  G4double d; // density
63 
64  // General elements
65 
66  A = 1.01*g/mole;
67  G4Element* elH = new G4Element ("Hydrogen","H",Z = 1.,A);
68 
69  A = 14.01*g/mole;
70  G4Element* elN = new G4Element("Nitrogen","N",Z = 7.,A);
71 
72  A = 16.00*g/mole;
73 
74  G4Element* elO = new G4Element("Oxygen","O",Z = 8.,A);
75 
76  A=26.98*g/mole;
77  G4Element* elAl = new G4Element("Aluminum","Al", Z = 13.,A);
78 
79  A = 12.011*g/mole;
80  G4Element* elC = new G4Element("Carbon","C",Z = 6.,A);
81 
82  A = 22.99*g/mole;
83  G4Element* elNa = new G4Element("Sodium","Na",Z = 11.,A);
84 
85  A = 24.305*g/mole;
86  G4Element* elMg = new G4Element("Magnesium","Mg",Z = 12.,A);
87 
88  A = 30.974*g/mole;
89  G4Element* elP = new G4Element("Phosphorus","P",Z = 15.,A);
90 
91  A = 32.06*g/mole;
92  G4Element* elS = new G4Element("Sulfur","S",Z = 16.,A);
93 
94  A = 35.453*g/mole;
95  G4Element* elCl = new G4Element("Chlorine","Cl",Z = 17.,A);
96 
97  A = 39.098*g/mole;
98  G4Element* elK = new G4Element("Potassium","K",Z = 19.,A);
99 
100  A = 40.08*g/mole;
101  G4Element* elCa = new G4Element("Calcium","Ca",Z = 20.,A);
102 
103  A = 65.38*g/mole;
104  G4Element* elZn = new G4Element("Zinc","Zn",Z = 30.,A);
105 
106  A = 54.94*g/mole;
107  G4Element* elMn = new G4Element("Manganese","Mn",Z = 25.,A);
108 
109  A = 28.09*g/mole;
110  G4Element* elSi = new G4Element("Silicon","Si",Z = 14.,A);
111 
112  A = 52.00*g/mole;
113  G4Element* elCr = new G4Element("Chromium","Cr",Z = 24.,A);
114 
115  A = 58.70*g/mole;
116  G4Element* elNi = new G4Element("Nickel","Ni",Z = 28.,A);
117 
118  A = 55.85*g/mole;
119  G4Element* elFe = new G4Element("Iron","Fe",Z = 26.,A);
120 
121  A = 183.84* g/mole;
122  d = 19.3*g/cm3;
123  matW = new G4Material("Tungsten",Z = 74.,A,d);
124 
125  // Perspex, plexiglass, lucite
126  d = 1.19*g/cm3;
127  matplexiglass = new G4Material("Plexiglass",d,3);
128  matplexiglass->AddElement(elH,0.08);
129  matplexiglass->AddElement(elC,0.60);
130  matplexiglass->AddElement(elO,0.32);
131 
132  // Lead material
133  A = 207.19*g/mole;
134  Z = 82;
135  d = 11.35*g/cm3;
136  matPb = new G4Material("Lead",Z,A,d);
137 
138  // Iridium (Medical Physics, Vol 25, No 10, Oct 1998)
139  d = 22.42*g/cm3;
140  A = 191.96260*g/mole ;
141  Z = 77;
142  matir192 = new G4Material("Iridium",Z,A,d);
143 
144  //titanium
145  A = 47.88*g/mole;
146  d = 4.50*g/cm3;
147  Titanium = new G4Material("titanium" ,Z = 22.,A,d);
148 
149  // Air material
150  d = 1.290*mg/cm3;
151  G4Material* matAir = new G4Material("Air",d,2);
152  matAir->AddElement(elN,0.7);
153  matAir->AddElement(elO,0.3);
154 
155  // Water
156  d = 1.000*g/cm3;
157  matH2O = new G4Material("Water",d,2);
158  matH2O->AddElement(elH,2);
159  matH2O->AddElement(elO,1);
160  matH2O->GetIonisation()->SetMeanExcitationEnergy(75.0*eV);
161 
162 
163  //soft tissue(http://www.nist.gov)
164  d = 1.0*g/cm3;
165  soft = new G4Material("tissue",d,13);
166  soft->AddElement(elH,0.104472);
167  soft->AddElement(elC,0.23219);
168  soft->AddElement(elN,0.02488);
169  soft->AddElement(elO,0.630238);
170  soft->AddElement(elNa,0.00113);
171  soft->AddElement(elMg,0.00013);
172  soft->AddElement(elP,0.00133);
173  soft->AddElement(elS,0.00199);
174  soft->AddElement(elCl,0.00134);
175  soft->AddElement(elK,0.00199);
176  soft->AddElement(elCa,0.00023);
177  soft->AddElement(elFe,0.00005);
178  soft->AddElement(elZn,0.00003);
179 
180  // Stainless steel (Medical Physics, Vol 25, No 10, Oct 1998)
181  d = 8.02*g/cm3 ;
182  matsteel = new G4Material("Stainless steel",d,5);
183  matsteel->AddElement(elMn, 0.02);
184  matsteel->AddElement(elSi, 0.01);
185  matsteel->AddElement(elCr, 0.19);
186  matsteel->AddElement(elNi, 0.10);
187  matsteel->AddElement(elFe, 0.68);
188 
189  //gold(chimica degli elementi N.N Greenwood,A.Earnshaw)
190  A = 196.97*g/mole;
191  d = 19.32*g/cm3;
192  gold = new G4Material("gold",Z = 79.,A,d);
193 
194  //IodiumCore(chimica degli elementi N.N Greenwood,A.Earnshaw)
195  A = 124.9*g/mole;
196  d = 4.862*g/cm3;
197  matI = new G4Material("Iodium",Z = 53.,A,d);
198 
199  //ceramic(Medical Physics, May 2000)
200  d = 2.88*g/cm3;
201  ceramic = new G4Material("allumina",d,2);
202  ceramic->AddElement(elAl,2);
203  ceramic->AddElement(elO,3);
204 
206  G4double pressure = 3.e-18*pascal;
207  G4double temperature = 2.73*kelvin;
208  A=1.01*g/mole;
209  Vacuum = new G4Material("Galactic", Z = 1., A,
210  density,kStateGas,temperature,pressure);
211 
212  //compact bone (http://www.NIST.gov)
213  d = 1.85*g/cm3;
214  bone = new G4Material("bone",d,8);
215  bone->AddElement(elH,0.063984);
216  bone->AddElement(elC,0.278);
217  bone->AddElement(elN,0.027);
218  bone->AddElement(elO,0.410016);
219  bone->AddElement(elMg,0.002);
220  bone->AddElement(elP,0.07);
221  bone->AddElement(elS,0.002);
222  bone->AddElement(elCa,0.147);
223 
224  //muscle(http://www.NIST.gov)
225  muscle = new G4Material("muscle",d,9);
226  muscle->AddElement(elH,0.101997);
227  muscle->AddElement(elC,0.123);
228  muscle->AddElement(elN,0.035);
229  muscle->AddElement(elNa,0.0008);
230  muscle->AddElement(elO,0.729);
231  muscle->AddElement(elMg,0.0002);
232  muscle->AddElement(elP,0.002);
233  muscle->AddElement(elS,0.005);
234  muscle->AddElement(elK,0.003);
235 }
236 
238 {
239  // Returns a material
240  G4Material* pttoMaterial = G4Material::GetMaterial(material);
241  return pttoMaterial;
242 }