| 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 | // Authors: S. Guatelli and M. G. Pia, INFN Genova, Italy
|
|---|
| 27 | //
|
|---|
| 28 | // Based on code developed by the undergraduate student G. Guerrieri
|
|---|
| 29 | // Note: this is a preliminary beta-version of the code; an improved
|
|---|
| 30 | // version will be distributed in the next Geant4 public release, compliant
|
|---|
| 31 | // with the design in a forthcoming publication, and subject to a
|
|---|
| 32 | // design and code review.
|
|---|
| 33 | //
|
|---|
| 34 |
|
|---|
| 35 | #include "G4MaterialPropertiesTable.hh"
|
|---|
| 36 | #include "G4MaterialPropertyVector.hh"
|
|---|
| 37 | #include "globals.hh"
|
|---|
| 38 | #include "G4MaterialTable.hh"
|
|---|
| 39 | #include "Randomize.hh"
|
|---|
| 40 | #include "G4RunManager.hh"
|
|---|
| 41 | #include "G4Element.hh"
|
|---|
| 42 | #include "G4ElementTable.hh"
|
|---|
| 43 | #include "G4HumanPhantomMaterial.hh"
|
|---|
| 44 |
|
|---|
| 45 | G4HumanPhantomMaterial::G4HumanPhantomMaterial():
|
|---|
| 46 | soft(0), skeleton(0),lung(0), adipose(0), glandular(0),
|
|---|
| 47 | adipose_glandular(0)
|
|---|
| 48 | {;}
|
|---|
| 49 |
|
|---|
| 50 | G4HumanPhantomMaterial::~G4HumanPhantomMaterial()
|
|---|
| 51 | {;}
|
|---|
| 52 |
|
|---|
| 53 | void G4HumanPhantomMaterial::DefineMaterials()
|
|---|
| 54 | {
|
|---|
| 55 | // Define required materials
|
|---|
| 56 |
|
|---|
| 57 | G4double A; // atomic mass
|
|---|
| 58 | G4double Z; // atomic number
|
|---|
| 59 | G4double d; // density
|
|---|
| 60 |
|
|---|
| 61 | // General elements
|
|---|
| 62 |
|
|---|
| 63 | A = 1.01*g/mole;
|
|---|
| 64 | G4Element* elH = new G4Element ("Hydrogen","H",Z = 1.,A);
|
|---|
| 65 |
|
|---|
| 66 | A = 12.011*g/mole;
|
|---|
| 67 | G4Element* elC = new G4Element("Carbon","C",Z = 6.,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 | G4Element* elO = new G4Element("Oxygen","O",Z = 8.,A);
|
|---|
| 74 |
|
|---|
| 75 | A = 22.99*g/mole;
|
|---|
| 76 | G4Element* elNa = new G4Element("Sodium","Na",Z = 11.,A);
|
|---|
| 77 |
|
|---|
| 78 | A = 24.305*g/mole;
|
|---|
| 79 | G4Element* elMg = new G4Element("Magnesium","Mg",Z = 12.,A);
|
|---|
| 80 |
|
|---|
| 81 | A = 30.974*g/mole;
|
|---|
| 82 | G4Element* elP = new G4Element("Phosphorus","P",Z = 15.,A);
|
|---|
| 83 |
|
|---|
| 84 | A = 32.064*g/mole;
|
|---|
| 85 | G4Element* elS = new G4Element("Sulfur","S",Z = 16.,A);
|
|---|
| 86 |
|
|---|
| 87 | A = 35.453*g/mole;
|
|---|
| 88 | G4Element* elCl = new G4Element("Chlorine","Cl",Z = 17.,A);
|
|---|
| 89 |
|
|---|
| 90 | A = 39.098*g/mole;
|
|---|
| 91 | G4Element* elK = new G4Element("Potassium","K",Z = 19.,A);
|
|---|
| 92 |
|
|---|
| 93 | A = 40.08*g/mole;
|
|---|
| 94 | G4Element* elCa = new G4Element("Calcium","Ca",Z = 20.,A);
|
|---|
| 95 |
|
|---|
| 96 | A = 55.85*g/mole;
|
|---|
| 97 | G4Element* elFe = new G4Element("Iron","Fe",Z = 26.,A);
|
|---|
| 98 |
|
|---|
| 99 | A = 65.38*g/mole;
|
|---|
| 100 | G4Element* elZn = new G4Element("Zinc","Zn",Z = 30.,A);
|
|---|
| 101 |
|
|---|
| 102 | A = 85.47 *g/mole;
|
|---|
| 103 | G4Element* elRb = new G4Element("Rb","Rb",Z = 37.,A);
|
|---|
| 104 |
|
|---|
| 105 | A = 87.62 *g/mole;
|
|---|
| 106 | G4Element* elSr = new G4Element("Sr","Sr",Z = 38.,A);
|
|---|
| 107 |
|
|---|
| 108 | A = 91.22 *g/mole;
|
|---|
| 109 | G4Element* elZr = new G4Element("Zr","Zr",Z = 40.,A);
|
|---|
| 110 |
|
|---|
| 111 | A = 207.19 *g/mole;
|
|---|
| 112 | G4Element* elPb = new G4Element("Lead","Pb", Z = 82.,A);
|
|---|
| 113 |
|
|---|
| 114 | // Water
|
|---|
| 115 | d = 1.000*g/cm3;
|
|---|
| 116 | matH2O = new G4Material("Water",d,2);
|
|---|
| 117 | matH2O->AddElement(elH,2);
|
|---|
| 118 | matH2O->AddElement(elO,1);
|
|---|
| 119 | matH2O->GetIonisation()->SetMeanExcitationEnergy(75.0*eV);
|
|---|
| 120 |
|
|---|
| 121 | // MIRD soft tissue
|
|---|
| 122 | d = 0.9869 *g/cm3;
|
|---|
| 123 | soft = new G4Material("soft_tissue",d,16);
|
|---|
| 124 | soft->AddElement(elH,0.1047);
|
|---|
| 125 | soft->AddElement(elC,0.2302);
|
|---|
| 126 | soft->AddElement(elN,0.0234);
|
|---|
| 127 | soft->AddElement(elO,0.6321);
|
|---|
| 128 | soft->AddElement(elNa,0.0013);
|
|---|
| 129 | soft->AddElement(elMg,0.00015);
|
|---|
| 130 | soft->AddElement(elP,0.0024);
|
|---|
| 131 | soft->AddElement(elS,0.0022);
|
|---|
| 132 | soft->AddElement(elCl,0.0014);
|
|---|
| 133 | soft->AddElement(elK,0.0021);
|
|---|
| 134 | soft->AddElement(elFe,0.000063);
|
|---|
| 135 | soft->AddElement(elZn,0.000032);
|
|---|
| 136 | soft->AddElement(elRb,0.0000057);
|
|---|
| 137 | soft->AddElement(elSr,0.00000034);
|
|---|
| 138 | soft->AddElement(elZr,0.000008);
|
|---|
| 139 | soft->AddElement(elPb,0.00000016);
|
|---|
| 140 |
|
|---|
| 141 | // MIRD Skeleton
|
|---|
| 142 |
|
|---|
| 143 | d = 1.4862*g/cm3;
|
|---|
| 144 | skeleton = new G4Material("skeleton",d,15);
|
|---|
| 145 | skeleton -> AddElement(elH,0.0704);
|
|---|
| 146 | skeleton -> AddElement(elC,0.2279);
|
|---|
| 147 | skeleton -> AddElement(elN,0.0387);
|
|---|
| 148 | skeleton -> AddElement(elO,0.4856);
|
|---|
| 149 | skeleton -> AddElement(elNa,0.0032);
|
|---|
| 150 | skeleton -> AddElement(elMg,0.0011);
|
|---|
| 151 | skeleton -> AddElement(elP,0.0694);
|
|---|
| 152 | skeleton -> AddElement(elS,0.0017);
|
|---|
| 153 | skeleton -> AddElement(elCl,0.0014);
|
|---|
| 154 | skeleton -> AddElement(elK,0.0015);
|
|---|
| 155 | skeleton -> AddElement(elCa,0.0991);
|
|---|
| 156 | skeleton -> AddElement(elFe,0.00008);
|
|---|
| 157 | skeleton -> AddElement(elZn,0.000048);
|
|---|
| 158 | skeleton -> AddElement(elSr,0.000032);
|
|---|
| 159 | skeleton -> AddElement(elPb,0.000011);
|
|---|
| 160 |
|
|---|
| 161 | // MIRD lung material
|
|---|
| 162 | d = 0.2958 *g/cm3;
|
|---|
| 163 | lung = new G4Material("lung_material", d,16);
|
|---|
| 164 | lung -> AddElement(elH, 0.1021);
|
|---|
| 165 | lung -> AddElement(elC, 0.1001);
|
|---|
| 166 | lung -> AddElement(elN,0.028);
|
|---|
| 167 | lung -> AddElement(elO,0.7596);
|
|---|
| 168 | lung -> AddElement(elNa,0.0019);
|
|---|
| 169 | lung -> AddElement(elMg,0.000074);
|
|---|
| 170 | lung -> AddElement(elP,0.00081);
|
|---|
| 171 | lung -> AddElement(elS,0.0023);
|
|---|
| 172 | lung -> AddElement(elCl,0.0027);
|
|---|
| 173 | lung -> AddElement(elK,0.0020);
|
|---|
| 174 | lung -> AddElement(elCa,0.00007);
|
|---|
| 175 | lung -> AddElement(elFe,0.00037);
|
|---|
| 176 | lung -> AddElement(elZn,0.000011);
|
|---|
| 177 | lung -> AddElement(elRb,0.0000037);
|
|---|
| 178 | lung -> AddElement(elSr,0.000000059);
|
|---|
| 179 | lung -> AddElement(elPb,0.00000041);
|
|---|
| 180 |
|
|---|
| 181 | G4double density_adipose = 0.93 *g/cm3;
|
|---|
| 182 | adipose = new G4Material("adipose", density_adipose,8);
|
|---|
| 183 | adipose -> AddElement(elH, 0.112);
|
|---|
| 184 | adipose -> AddElement(elC, 0.619);
|
|---|
| 185 | adipose -> AddElement(elN, 0.017);
|
|---|
| 186 | adipose -> AddElement(elO, 0.251);
|
|---|
| 187 | adipose -> AddElement(elS, 0.00025);
|
|---|
| 188 | adipose -> AddElement(elP, 0.00025);
|
|---|
| 189 | adipose -> AddElement(elK, 0.00025);
|
|---|
| 190 | adipose -> AddElement(elCa,0.00025);
|
|---|
| 191 |
|
|---|
| 192 | G4double density_glandular = 1.04 * g/cm3;
|
|---|
| 193 | glandular = new G4Material("glandular", density_glandular,8);
|
|---|
| 194 | glandular -> AddElement(elH, 0.1);
|
|---|
| 195 | glandular -> AddElement(elC,0.184);
|
|---|
| 196 | glandular -> AddElement(elN, 0.032);
|
|---|
| 197 | glandular -> AddElement(elO, 0.679);
|
|---|
| 198 | glandular -> AddElement(elS, 0.00125);
|
|---|
| 199 | glandular -> AddElement(elP, 0.00125);
|
|---|
| 200 | glandular -> AddElement(elK, 0.00125);
|
|---|
| 201 | glandular -> AddElement(elCa,0.00125);
|
|---|
| 202 |
|
|---|
| 203 |
|
|---|
| 204 | d = (density_adipose * 0.5) + (density_glandular * 0.5);
|
|---|
| 205 | adipose_glandular = new G4Material("adipose_glandular", d, 2);
|
|---|
| 206 | adipose_glandular -> AddMaterial(adipose, 0.5);
|
|---|
| 207 | adipose_glandular -> AddMaterial(glandular, 0.5);
|
|---|
| 208 |
|
|---|
| 209 | // Air
|
|---|
| 210 | d = 1.290*mg/cm3;
|
|---|
| 211 | G4Material* matAir = new G4Material("Air",d,2);
|
|---|
| 212 | matAir->AddElement(elN,0.7);
|
|---|
| 213 | matAir->AddElement(elO,0.3);
|
|---|
| 214 | }
|
|---|
| 215 |
|
|---|
| 216 | G4Material* G4HumanPhantomMaterial::GetMaterial(G4String material)
|
|---|
| 217 | {
|
|---|
| 218 | // Returns a material
|
|---|
| 219 | G4Material* pttoMaterial = G4Material::GetMaterial(material);
|
|---|
| 220 | return pttoMaterial;
|
|---|
| 221 | }
|
|---|