| 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 | //
|
|---|
| 27 | // GEANT4 tag $Name:
|
|---|
| 28 | //
|
|---|
| 29 | // Author: Alex Howard (alexander.howard@cern.ch)
|
|---|
| 30 | //
|
|---|
| 31 | // History:
|
|---|
| 32 | // -----------
|
|---|
| 33 | //
|
|---|
| 34 | // 23rd November 2002 Modified GXe and LXe material tables to include new
|
|---|
| 35 | // scintillation method - Alex Howard
|
|---|
| 36 | //
|
|---|
| 37 | G4double density, // density
|
|---|
| 38 | a, // atomic mass
|
|---|
| 39 | z; // atomic number
|
|---|
| 40 | G4String name, // name
|
|---|
| 41 | symbol; // symbol
|
|---|
| 42 | G4int ncomponents, // n components
|
|---|
| 43 | iz, // number of protons
|
|---|
| 44 | in; // number of nuceons
|
|---|
| 45 | G4double abundance, // abundance
|
|---|
| 46 | temperature, // temperature
|
|---|
| 47 | pressure; // pressure
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | // making vacuum
|
|---|
| 51 | G4Material* vacuum = new G4Material
|
|---|
| 52 | (name="Vacuum", z=1., a=1.*g/mole, density=1.e-20*g/cm3,
|
|---|
| 53 | kStateGas, temperature=0.1*kelvin, pressure=1.e-20*bar);
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | // xenons
|
|---|
| 57 | G4Element* elementXe = new G4Element( "Xenon", "Xe", 54., 131.29*g/mole );
|
|---|
| 58 | G4Material* LXe = new G4Material
|
|---|
| 59 | ("LXe", 3.02*g/cm3, 1, kStateLiquid, 173.15*kelvin, 1.5*atmosphere );
|
|---|
| 60 | G4Material* GXe = new G4Material
|
|---|
| 61 | ("GXe", 0.005887*g/cm3, 1, kStateGas, 173.15*kelvin, 1.5*atmosphere );
|
|---|
| 62 | LXe->AddElement( elementXe, 1);
|
|---|
| 63 | GXe->AddElement( elementXe, 1);
|
|---|
| 64 |
|
|---|
| 65 | const G4int NUMENTRIES = 3;
|
|---|
| 66 | // G4double LXe_PP[NUMENTRIES] = { 7.07*eV, 7.07*eV };
|
|---|
| 67 | G4double LXe_PP[NUMENTRIES] = { 7.0*eV , 7.07*eV, 7.14*eV };
|
|---|
| 68 | G4double LXe_SCINT[NUMENTRIES] = { 0.1, 1.0, 0.1 };
|
|---|
| 69 | G4double LXe_RIND[NUMENTRIES] = { 1.59 , 1.57, 1.54 };
|
|---|
| 70 | G4double LXe_ABSL[NUMENTRIES] = { 35.*cm, 35.*cm, 35.*cm}; //atten length
|
|---|
| 71 | G4MaterialPropertiesTable *LXe_mt = new G4MaterialPropertiesTable();
|
|---|
| 72 | LXe_mt->AddProperty("FASTCOMPONENT", LXe_PP, LXe_SCINT, NUMENTRIES);
|
|---|
| 73 | LXe_mt->AddProperty("SLOWCOMPONENT", LXe_PP, LXe_SCINT, NUMENTRIES);
|
|---|
| 74 | LXe_mt->AddProperty("RINDEX", LXe_PP, LXe_RIND, NUMENTRIES);
|
|---|
| 75 | LXe_mt->AddProperty("ABSLENGTH", LXe_PP, LXe_ABSL, NUMENTRIES);
|
|---|
| 76 | LXe_mt->AddConstProperty("SCINTILLATIONYIELD",12000./MeV); // include QE 20%
|
|---|
| 77 | // and 13eV creation energy for photons - may be 15eV?
|
|---|
| 78 | // Fano factor assumed 1; should be much less for Xe ~ 0.13
|
|---|
| 79 | // but the Fano factor is already partially included in the correlated
|
|---|
| 80 | // electron production - therefore not the absolute Fano factor here:
|
|---|
| 81 | LXe_mt->AddConstProperty("RESOLUTIONSCALE",1.0);
|
|---|
| 82 | LXe_mt->AddConstProperty("FASTTIMECONSTANT",20.*ns);
|
|---|
| 83 | LXe_mt->AddConstProperty("SLOWTIMECONSTANT",45.*ns);
|
|---|
| 84 | LXe_mt->AddConstProperty("YIELDRATIO",1.0);
|
|---|
| 85 | LXe->SetMaterialPropertiesTable(LXe_mt);
|
|---|
| 86 |
|
|---|
| 87 | // G4double GXe_PP[NUMENTRIES] = { 7.07*eV, 7.07*eV };
|
|---|
| 88 | G4double GXe_PP[NUMENTRIES] = { 7.0*eV, 7.07*eV, 7.14*eV };
|
|---|
| 89 | G4double GXe_SCINT[NUMENTRIES] = { 0.1, 1.0, 0.1 };
|
|---|
| 90 | G4double GXe_RIND[NUMENTRIES] = { 1.00, 1.00, 1.00 };
|
|---|
| 91 | G4double GXe_ABSL[NUMENTRIES] = { 100*m, 100*m, 100*m}; //atten length
|
|---|
| 92 | G4MaterialPropertiesTable *GXe_mt = new G4MaterialPropertiesTable();
|
|---|
| 93 | GXe_mt->AddProperty("FASTCOMPONENT", GXe_PP, GXe_SCINT, NUMENTRIES);
|
|---|
| 94 | GXe_mt->AddProperty("SLOWCOMPONENT", GXe_PP, GXe_SCINT, NUMENTRIES);
|
|---|
| 95 | GXe_mt->AddProperty("RINDEX", GXe_PP, GXe_RIND, NUMENTRIES);
|
|---|
| 96 | GXe_mt->AddProperty("ABSLENGTH", GXe_PP, GXe_ABSL, NUMENTRIES);
|
|---|
| 97 | GXe_mt->AddConstProperty("SCINTILLATIONYIELD",12000./MeV); // include QE 20%
|
|---|
| 98 | GXe_mt->AddConstProperty("RESOLUTIONSCALE",1.0);
|
|---|
| 99 | GXe_mt->AddConstProperty("FASTTIMECONSTANT",20.*ns);
|
|---|
| 100 | GXe_mt->AddConstProperty("SLOWTIMECONSTANT",45.*ns);
|
|---|
| 101 | GXe_mt->AddConstProperty("YIELDRATIO",1.0);
|
|---|
| 102 | GXe->SetMaterialPropertiesTable(GXe_mt);
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 | // making quartz
|
|---|
| 106 | G4Element* O = new G4Element
|
|---|
| 107 | (name="Oxygen" ,symbol="O" , z= 8., a=16.00*g/mole);
|
|---|
| 108 | G4Element* Si = new G4Element
|
|---|
| 109 | (name="Silicon",symbol="Si" , z= 14., a=28.09*g/mole);
|
|---|
| 110 | G4Material* quartz = new G4Material
|
|---|
| 111 | (name="quartz", density=2.200*g/cm3, ncomponents=2);
|
|---|
| 112 | quartz->AddElement(Si, 1);
|
|---|
| 113 | quartz->AddElement(O , 2);
|
|---|
| 114 |
|
|---|
| 115 | G4double quartz_PP[NUMENTRIES] = { 5.0*eV, 6.69*eV, 7.50*eV }; // lambda range 4 ri
|
|---|
| 116 | G4double quartz_RIND[NUMENTRIES] = { 1.51, 1.57, 1.61 }; // ref index
|
|---|
| 117 | // G4double quartz_RIND[NUMENTRIES] = { 1.45, 1.51, 1.54 }; // ref index
|
|---|
| 118 | G4double quartz_ABSL[NUMENTRIES] = { 3.0*cm, 3.0*cm, 3.0*cm };// atten length
|
|---|
| 119 | G4MaterialPropertiesTable *quartz_mt = new G4MaterialPropertiesTable();
|
|---|
| 120 | quartz_mt->AddProperty("RINDEX", quartz_PP, quartz_RIND, NUMENTRIES);
|
|---|
| 121 | quartz_mt->AddProperty("ABSLENGTH", quartz_PP, quartz_ABSL, NUMENTRIES);
|
|---|
| 122 | quartz->SetMaterialPropertiesTable(quartz_mt);
|
|---|
| 123 |
|
|---|
| 124 |
|
|---|
| 125 | // aluminium
|
|---|
| 126 | G4Element* Al = new G4Element
|
|---|
| 127 | (name="Aluminium" ,symbol="Al" , z= 13., a=26.98*g/mole);
|
|---|
| 128 | G4Material* metalAl = new G4Material
|
|---|
| 129 | (name="MetalAluminium", density=2.700*g/cm3, ncomponents=1);
|
|---|
| 130 | metalAl->AddElement(Al, 1);
|
|---|
| 131 |
|
|---|
| 132 |
|
|---|
| 133 | // photocathode aluminium
|
|---|
| 134 | G4Material* cathmetalAl = new G4Material
|
|---|
| 135 | (name="CathodeMetalAluminium", density=2.700*g/cm3, ncomponents=1);
|
|---|
| 136 | cathmetalAl->AddElement(Al, 1);
|
|---|
| 137 |
|
|---|
| 138 | G4double cathmetal_PP[NUMENTRIES] = { 5.0*eV, 6.69*eV, 7.50*eV };
|
|---|
| 139 | G4double cathmetal_RIND[NUMENTRIES] = { 1.51, 1.57, 1.61 }; // ref index
|
|---|
| 140 | G4double cathmetal_ABSL[NUMENTRIES] = { 1.e-20*m, 1.e-20*m, 1.e-20*m };// atten length
|
|---|
| 141 | // G4double cathmetal_ABSL[NUMENTRIES] = { 3.0*cm, 3.0*cm, 3.0*cm };// atten length
|
|---|
| 142 | G4MaterialPropertiesTable *cathmetal_mt = new G4MaterialPropertiesTable();
|
|---|
| 143 | cathmetal_mt->AddProperty("RINDEX", cathmetal_PP, cathmetal_RIND,NUMENTRIES);
|
|---|
| 144 | cathmetal_mt->AddProperty("ABSLENGTH", cathmetal_PP, cathmetal_ABSL, NUMENTRIES);
|
|---|
| 145 | cathmetalAl->SetMaterialPropertiesTable(cathmetal_mt);
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 | // iron
|
|---|
| 149 | G4Element* Fe = new G4Element
|
|---|
| 150 | (name="Iron" ,symbol="Fe" , z= 26., a=55.85*g/mole);
|
|---|
| 151 | G4Material* metalFe = new G4Material
|
|---|
| 152 | (name="MetalIron", density=7.874*g/cm3, ncomponents=1);
|
|---|
| 153 | metalFe->AddElement(Fe, 1);
|
|---|
| 154 |
|
|---|
| 155 |
|
|---|
| 156 | // stainless steel
|
|---|
| 157 | G4Element* C = new G4Element( "Carbon", "C", 6. , 12.011*g/mole);
|
|---|
| 158 | G4Element* Co = new G4Element( "Cobalt", "Co", 27. , 58.9332*g/mole);
|
|---|
| 159 | G4Material* ssteel = new G4Material
|
|---|
| 160 | (name="Steel", density=7.7*g/cm3, ncomponents=3);
|
|---|
| 161 | ssteel->AddElement(C, 0.04);
|
|---|
| 162 | ssteel->AddElement(Fe, 0.88);
|
|---|
| 163 | ssteel->AddElement(Co, 0.08);
|
|---|
| 164 |
|
|---|
| 165 |
|
|---|
| 166 | // copper
|
|---|
| 167 | G4Element* Cu = new G4Element
|
|---|
| 168 | (name="Copper" ,symbol="Cu" , z= 29., a=63.55*g/mole);
|
|---|
| 169 | G4Material* metalCu = new G4Material
|
|---|
| 170 | (name="MetalCopper", density=8.960*g/cm3, ncomponents=1);
|
|---|
| 171 | metalCu->AddElement(Cu, 1);
|
|---|
| 172 |
|
|---|
| 173 | // lead
|
|---|
| 174 | G4Element* Pb = new G4Element
|
|---|
| 175 | (name="Lead",symbol="Pb" , z= 82., a=207.2*g/mole);
|
|---|
| 176 | G4Material* metalPb = new G4Material
|
|---|
| 177 | (name="MetalLead", density=11.340*g/cm3, ncomponents=1);
|
|---|
| 178 | metalPb->AddElement(Pb, 1);
|
|---|
| 179 |
|
|---|
| 180 |
|
|---|
| 181 | /*
|
|---|
| 182 | // Americium: - NOTE it's AmO2..........
|
|---|
| 183 | G4Isotope* Am241 = new G4Isotope
|
|---|
| 184 | (name="Americium241", iz= 95, in=241, a=241.0*g/mole);
|
|---|
| 185 | G4Element* Am = new G4Element
|
|---|
| 186 | (name="Americium241", "Am", ncomponents=1);
|
|---|
| 187 | Am->AddIsotope(Am241, abundance=1);
|
|---|
| 188 | G4Material* sourceAm = new G4Material
|
|---|
| 189 | (name="AmericiumSource", density=13.61*g/cm3, ncomponents=2);
|
|---|
| 190 | sourceAm->AddElement(Am, 1);
|
|---|
| 191 | sourceAm->AddElement(O , 2);
|
|---|
| 192 | */
|
|---|
| 193 |
|
|---|
| 194 | // using Uranium because Americium not yet defined for RDM
|
|---|
| 195 | G4Isotope* U235 = new G4Isotope
|
|---|
| 196 | (name="Uranium235", iz= 92, in=235, a=235.0*g/mole);
|
|---|
| 197 | G4Element* U = new G4Element
|
|---|
| 198 | (name="Uranium", "U", ncomponents=1);
|
|---|
| 199 | U->AddIsotope(U235, abundance=1);
|
|---|
| 200 | G4Material* sourceAm = new G4Material
|
|---|
| 201 | (name="UraniumSource", density=13.61*g/cm3, ncomponents=1);
|
|---|
| 202 | sourceAm->AddElement(U, 1);
|
|---|
| 203 |
|
|---|
| 204 | // air
|
|---|
| 205 | G4Element* N = new G4Element
|
|---|
| 206 | (name="Nitrogen",symbol="N" , z= 7., a=14.00674*g/mole);
|
|---|
| 207 | G4Material* Air = new G4Material
|
|---|
| 208 | ("AIR", 1.2929*kg/m3, 2, kStateGas, 300.00*kelvin, 1.0*atmosphere);
|
|---|
| 209 | Air->AddElement(N, 0.8);
|
|---|
| 210 | Air->AddElement(O , 0.2);
|
|---|
| 211 |
|
|---|
| 212 | // liquid nitrogen:
|
|---|
| 213 | G4Material* LN2 = new G4Material
|
|---|
| 214 | ("LN2", 0.8*g/cm3, 1, kStateLiquid, 77.*kelvin, 1.0*atmosphere);
|
|---|
| 215 | LN2->AddElement(N, 1);
|
|---|
| 216 |
|
|---|
| 217 | //concrete
|
|---|
| 218 | G4Element* H = new G4Element
|
|---|
| 219 | (name="Hydrogen",symbol="H" , z= 1., a=1.00794*g/mole);
|
|---|
| 220 | G4Element* Ca = new G4Element
|
|---|
| 221 | (name="Calcium",symbol="Ca" , z= 20., a=40.078*g/mole);
|
|---|
| 222 | G4Material* concrete = new G4Material
|
|---|
| 223 | (name="Concrete", density=2.3*g/cm3, ncomponents=6);
|
|---|
| 224 | concrete->AddElement(Si, 0.227915);
|
|---|
| 225 | concrete->AddElement(O, 0.60541);
|
|---|
| 226 | concrete->AddElement(H, 0.09972);
|
|---|
| 227 | concrete->AddElement(Ca, 0.04986);
|
|---|
| 228 | concrete->AddElement(Al, 0.014245);
|
|---|
| 229 | concrete->AddElement(Fe, 0.00285);
|
|---|
| 230 |
|
|---|
| 231 |
|
|---|
| 232 | //water
|
|---|
| 233 | G4Material* water = new G4Material
|
|---|
| 234 | (name="water", density=1.00*g/cm3, ncomponents=2);
|
|---|
| 235 | water->AddElement(H , 2);
|
|---|
| 236 | water->AddElement(O , 1);
|
|---|
| 237 |
|
|---|
| 238 |
|
|---|
| 239 | // wood
|
|---|
| 240 | G4Material* wood = new G4Material
|
|---|
| 241 | (name="wood", density=0.9*g/cm3, ncomponents=3);
|
|---|
| 242 | wood->AddElement(H , 4);
|
|---|
| 243 | wood->AddElement(O , 1);
|
|---|
| 244 | wood->AddElement(C , 2);
|
|---|
| 245 |
|
|---|
| 246 | // print materials
|
|---|
| 247 | // G4cout << *(G4Material::GetMaterialTable()) << G4endl;
|
|---|
| 248 | // G4cout << *(G4Isotope::GetIsotopeTable()) << G4endl;
|
|---|
| 249 | // G4cout << *(G4Element::GetElementTable()) << G4endl;
|
|---|
| 250 |
|
|---|
| 251 | // assign materials
|
|---|
| 252 | world_mat = concrete;
|
|---|
| 253 | lab_mat = Air;
|
|---|
| 254 | cupboard_mat = wood;
|
|---|
| 255 | glass_mat = quartz;
|
|---|
| 256 | panel_mat = metalAl;
|
|---|
| 257 | door_mat = wood;
|
|---|
| 258 | desk_mat = wood;
|
|---|
| 259 | crate_mat = metalAl;
|
|---|
| 260 | LN2jacket_mat = ssteel;
|
|---|
| 261 | LN2_mat = LN2;
|
|---|
| 262 | jacket_mat = ssteel;
|
|---|
| 263 | jacketflange_mat = ssteel;
|
|---|
| 264 | vacuum_mat = vacuum;
|
|---|
| 265 | copper_mat = metalCu;
|
|---|
| 266 | vessel_mat = ssteel;
|
|---|
| 267 | // GXe_mat = GXe;
|
|---|
| 268 | GXe_mat = LXe;
|
|---|
| 269 | CuShield_mat = metalCu;
|
|---|
| 270 | LXe_mat = LXe;
|
|---|
| 271 | alpha_mat = metalPb;
|
|---|
| 272 | americium_mat = sourceAm;
|
|---|
| 273 | ring_mat = ssteel;
|
|---|
| 274 | mirror_mat = metalAl;
|
|---|
| 275 | grid_mat = LXe;
|
|---|
| 276 | pmt_mat = quartz;
|
|---|
| 277 | phcath_mat = cathmetalAl;
|
|---|