Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 // Class Description 26 // Class Description 27 // Name list of Elements for a high precision 27 // Name list of Elements for a high precision (based on evaluated data 28 // libraries) description of themal neutron sc 28 // libraries) description of themal neutron scattering below 4 eV; 29 // Based on Thermal neutron scattering files 29 // Based on Thermal neutron scattering files 30 // from the evaluated nuclear data files ENDF/ 30 // from the evaluated nuclear data files ENDF/B-VI, Release2 31 // To be used in your physics list in case you 31 // To be used in your physics list in case you need this physics. 32 // In this case you want to register an object 32 // In this case you want to register an object of this class with 33 // the corresponding process. 33 // the corresponding process. 34 // Class Description - End 34 // Class Description - End 35 35 36 // 15-Nov-06 First implementation is done by T 36 // 15-Nov-06 First implementation is done by T. Koi (SLAC/SCCS) 37 // P. Arce, June-2014 Conversion neutron_hp to 37 // P. Arce, June-2014 Conversion neutron_hp to particle_hp 38 // 38 // 39 39 40 #include "G4ParticleHPThermalScatteringNames.h 40 #include "G4ParticleHPThermalScatteringNames.hh" 41 << 42 #include "G4ElementTable.hh" << 43 #include "G4Neutron.hh" 41 #include "G4Neutron.hh" >> 42 #include "G4ElementTable.hh" >> 43 //#include "G4ParticleHPData.hh" 44 44 45 G4ParticleHPThermalScatteringNames::G4Particle 45 G4ParticleHPThermalScatteringNames::G4ParticleHPThermalScatteringNames() 46 { 46 { 47 // ----------------------------------------- << 47 // -------------------------------------------------------------------------------------------------------------------------- 48 // Old Geant4 naming - before 23/03/2022 - T << 48 // Old Geant4 naming - before 23/03/2022 - TSL linked to ENDF/BVII.1 nuclear cross-section G4NDL4.5 49 // G4NDL4.5 << 49 // -------------------------------------------------------------------------------------------------------------------------- 50 // ----------------------------------------- << 50 /*names.insert ( std::pair < G4String , G4String > ( "TS_Aluminium_Metal" , "al_metal" ) ); 51 /*names.insert ( std::pair < G4String , G4St << 51 names.insert ( std::pair < G4String , G4String > ( "TS_Beryllium_Metal" , "be_metal" ) ); 52 names.insert ( std::pair < G4String , G4Stri << 52 names.insert ( std::pair < G4String , G4String > ( "TS_Be_of_Beryllium_Oxide" , "be_beo" ) ); 53 names.insert ( std::pair < G4String , G4Stri << 53 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Graphite" , "graphite" ) ); 54 names.insert ( std::pair < G4String , G4Stri << 54 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Heavy_Water" , "d_heavy_water" ) ); 55 names.insert ( std::pair < G4String , G4Stri << 55 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Water" , "h_water" ) ); 56 names.insert ( std::pair < G4String , G4Stri << 56 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Zirconium_Hydride" , "h_zrh" ) ); 57 names.insert ( std::pair < G4String , G4Stri << 57 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Polyethylene" , "h_polyethylene" ) ); 58 names.insert ( std::pair < G4String , G4Stri << 58 names.insert ( std::pair < G4String , G4String > ( "TS_Iron_Metal" , "fe_metal" ) ); 59 names.insert ( std::pair < G4String , G4Stri << 59 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Uranium_Dioxide" , "o_uo2" ) ); 60 names.insert ( std::pair < G4String , G4Stri << 60 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Beryllium_Oxide" , "o_beo" ) ); 61 names.insert ( std::pair < G4String , G4Stri << 61 names.insert ( std::pair < G4String , G4String > ( "TS_U_of_Uranium_Dioxide" , "u_uo2" ) ); 62 names.insert ( std::pair < G4String , G4Stri << 62 names.insert ( std::pair < G4String , G4String > ( "TS_U235_of_Uranium_Dioxide" , "u235_uo2" ) ); 63 names.insert ( std::pair < G4String , G4Stri << 63 names.insert ( std::pair < G4String , G4String > ( "TS_U238_of_Uranium_Dioxide" , "u238_uo2" ) ); 64 names.insert ( std::pair < G4String , G4Stri << 64 names.insert ( std::pair < G4String , G4String > ( "TS_Zr_of_Zirconium_Hydride" , "zr_zrh" ) ); //// ENDF-B71 65 names.insert ( std::pair < G4String , G4Stri << 65 66 //// ENDF-B71 << 66 67 << 67 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Para_Hydrogen" , "h_para_h2" ) ); 68 << 68 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Ortho_Hydrogen" , "h_ortho_h2" ) ); 69 names.insert ( std::pair < G4String , G4Stri << 69 70 names.insert ( std::pair < G4String , G4Stri << 70 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Para_Deuterium" , "d_para_d2" ) ); 71 << 71 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Ortho_Deuterium" , "d_ortho_d2" ) ); 72 names.insert ( std::pair < G4String , G4Stri << 72 73 names.insert ( std::pair < G4String , G4Stri << 73 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Liquid_Methane", "h_l_ch4" ) ); 74 << 74 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Solid_Methane", "h_s_ch4" ) ); */ 75 names.insert ( std::pair < G4String , G4Stri << 75 76 names.insert ( std::pair < G4String , G4Stri << 76 77 << 77 // -------------------------------------------------------------------------------------------------------------------------- 78 // ----------------------------------------- << 78 // New Geant4 naming - after 23/03/2022 - TSL linked to JEFF-3.3 nuclear cross-section G4NDL4.6 79 // New Geant4 naming - after 23/03/2022 - TS << 79 // -------------------------------------------------------------------------------------------------------------------------- 80 // ----------------------------------------- << 80 ///23/03/2022 - Added by L. Thulliez (CEA-Saclay) 81 /// 23/03/2022 - Added by L. Thulliez (CEA-S << 81 names.insert ( std::pair < G4String , G4String > ( "TS_Benzene", "h_benzen" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 82 names.insert( << 82 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Para_Hydrogen", "h_para_h2" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 83 std::pair<G4String, G4String>("TS_Benzene" << 83 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Para_Deuterium", "d_para_d2" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 84 names.insert(std::pair<G4String, G4String>( << 84 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Ortho_Hydrogen", "h_ortho_h2" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 85 "TS_H_of_Para_Hydrogen", "h_para_h2")); / << 85 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Ortho_Deuterium", "d_ortho_d2" ) );///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 86 names.insert(std::pair<G4String, G4String>( << 86 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Uranium_Dioxide", "o_uo2" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 87 "TS_D_of_Para_Deuterium", "d_para_d2")); << 87 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Ice", "o_ice" ) ); ///ENDF/BVIII.0 88 names.insert(std::pair<G4String, G4String>( << 88 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Heavy_Water", "o_heavy_water" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 89 "TS_H_of_Ortho_Hydrogen", "h_ortho_h2")); << 89 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Beryllium_Oxide", "o_beo" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 90 names.insert(std::pair<G4String, G4String>( << 90 names.insert ( std::pair < G4String , G4String > ( "TS_N_of_Uranium_Nitride", "n_un" ) ); ///ENDF/BVIII.0 91 "TS_D_of_Ortho_Deuterium", "d_ortho_d2")); << 91 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Liquid_Methane", "h_l_ch4" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 92 names.insert(std::pair<G4String, G4String>(" << 92 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Zirconium_Hydride", "h_zrh" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 93 " << 93 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Yttrium_Hydride", "h_yh2" ) ); ///ENDF/BVIII.0 94 names.insert(std::pair<G4String, G4String>(" << 94 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Ice", "h_ice" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 95 names.insert(std::pair<G4String, G4String>(" << 95 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Water", "h_water" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 96 " << 96 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Polyethylene", "h_polyethylene" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 97 names.insert(std::pair<G4String, G4String>(" << 97 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_PolymethylMethacrylate", "h_c5o2h8" ) ); ///ENDF/BVIII.0 98 " << 98 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Heavy_Water", "d_heavy_water" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 99 names.insert(std::pair<G4String, G4String>(" << 99 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Graphite", "graphite" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 100 names.insert(std::pair<G4String, G4String>(" << 100 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Silicium_Carbide", "c_sic" ) ); ///ENDF/BVIII.0 101 " << 101 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Graphite_Porosity_30percent", "graphite_30p" ) ); ///ENDF/BVIII.0 102 names.insert(std::pair<G4String, G4String>( << 102 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Graphite_Porosity_10percent", "graphite_10p" ) ); ///ENDF/BVIII.0 103 "TS_H_of_Zirconium_Hydride", "h_zrh")); / << 103 names.insert ( std::pair < G4String , G4String > ( "TS_Beryllium_Metal", "be_metal")); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1 104 names.insert(std::pair<G4String, G4String>(" << 104 names.insert ( std::pair < G4String , G4String > ( "TS_Be_of_Beryllium_Oxide", "be_beo" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 105 names.insert( << 105 names.insert ( std::pair < G4String , G4String > ( "TS_Iron_Metal", "fe_metal" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 106 std::pair<G4String, G4String>("TS_H_of_Ice << 106 names.insert ( std::pair < G4String , G4String > ( "TS_Zr90_of_Zirconium_Hydride", "zr90_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 107 names.insert(std::pair<G4String, G4String>( << 107 names.insert ( std::pair < G4String , G4String > ( "TS_Zr91_of_Zirconium_Hydride", "zr91_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 108 "TS_H_of_Water", "h_water")); /// ENDF/BV << 108 names.insert ( std::pair < G4String , G4String > ( "TS_Zr92_of_Zirconium_Hydride", "zr92_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 109 names.insert(std::pair<G4String, G4String>( << 109 names.insert ( std::pair < G4String , G4String > ( "TS_Zr94_of_Zirconium_Hydride", "zr94_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 110 "TS_H_of_Polyethylene", "h_polyethylene")) << 110 names.insert ( std::pair < G4String , G4String > ( "TS_Zr96_of_Zirconium_Hydride", "zr96_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 111 names.insert( << 111 names.insert ( std::pair < G4String , G4String > ( "TS_Y_of_Yttrium_Hydride", "y_yh2" ) ); ///ENDF/BVIII.0 112 std::pair<G4String, G4String>("TS_H_of_Pol << 112 names.insert ( std::pair < G4String , G4String > ( "TS_U235_of_Uranium_Dioxide", "u235_uo2" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 113 names.insert(std::pair<G4String, G4String>( << 113 names.insert ( std::pair < G4String , G4String > ( "TS_U238_of_Uranium_Dioxide", "u238_uo2" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 114 "TS_D_of_Heavy_Water", "d_heavy_water")); << 114 names.insert ( std::pair < G4String , G4String > ( "TS_U235_of_Uranium_Nitride", "u235_un" ) ); ///ENDF/BVIII.0 115 names.insert(std::pair<G4String, G4String>( << 115 names.insert ( std::pair < G4String , G4String > ( "TS_U238_of_Uranium_Nitride", "u238_un" ) ); ///ENDF/BVIII.0 116 "TS_C_of_Graphite", "graphite")); /// END << 116 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_SiO2_beta", "si28_sio2_beta" ) ); ///ENDF/BVIII.0 117 names.insert( << 117 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_SiO2_beta", "si29_sio2_beta" ) ); ///ENDF/BVIII.0 118 std::pair<G4String, G4String>("TS_C_of_Sil << 118 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_SiO2_beta", "si30_sio2_beta" ) ); ///ENDF/BVIII.0 119 names.insert(std::pair<G4String, G4String>(" << 119 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_SiO2_alpha", "si28_sio2_alpha" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 120 " << 120 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_SiO2_alpha", "si29_sio2_alpha" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 121 names.insert(std::pair<G4String, G4String>(" << 121 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_SiO2_alpha", "si30_sio2_alpha" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 122 " << 122 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_Silicium_Carbide", "si28_sic" ) ); ///ENDF/BVIII.0 123 names.insert(std::pair<G4String, G4String>( << 123 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_Silicium_Carbide", "si29_sic" ) ); ///ENDF/BVIII.0 124 "TS_Beryllium_Metal", "be_metal")); /// E << 124 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_Silicium_Carbide", "si30_sic" ) ); ///ENDF/BVIII.0 125 names.insert(std::pair<G4String, G4String>(" << 125 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Solid_Methane", "h_s_ch4" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 126 " << 126 names.insert ( std::pair < G4String , G4String > ( "TS_Aluminium_Metal", "al_metal" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1 127 names.insert( << 127 names.insert ( std::pair < G4String , G4String > ( "TS_Al_of_Sapphir_SingleCrystal", "al_al2o3_singlecrystal" ) ); ///JEFFF.3.3 128 std::pair<G4String, G4String>("TS_Iron_Met << 128 names.insert ( std::pair < G4String , G4String > ( "TS_Ca_of_CaH2", "ca_cah2" ) ); ///JEFFF.3.3 129 names.insert(std::pair<G4String, G4String>(" << 129 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_CaH2", "h_cah2" ) ); ///JEFFF.3.3 130 " << 130 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Mesitylene_phaseII", "h_mesitylene_phaseII" ) ); ///JEFFF.3.3 131 names.insert(std::pair<G4String, G4String>(" << 131 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Sapphir_SingleCrystal", "o_al2o3_singlecrystal" ) ); ///JEFFF.3.3 132 " << 132 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Toluene", "h_toluene" ) ); ///JEFFF.3.3 133 names.insert(std::pair<G4String, G4String>(" << 133 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_SiO2_SingleCrystal", "si30_sio2_singlecrystal" ) ); ///JEFFF.3.3 134 " << 134 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_SiO2_SingleCrystal", "si29_sio2_singlecrystal" ) ); ///JEFFF.3.3 135 names.insert(std::pair<G4String, G4String>(" << 135 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_SiO2_SingleCrystal", "si28_sio2_singlecrystal" ) ); ///JEFFF.3.3 136 " << 136 names.insert ( std::pair < G4String , G4String > ( "TS_Mg26_of_Magnesium_Metal", "mg26_magnesium" ) ); ///JEFFF.3.3 137 names.insert(std::pair<G4String, G4String>(" << 137 names.insert ( std::pair < G4String , G4String > ( "TS_Mg25_of_Magnesium_Metal", "mg25_magnesium" ) ); ///JEFFF.3.3 138 " << 138 names.insert ( std::pair < G4String , G4String > ( "TS_Mg24_of_Magnesium_Metal", "mg24_magnesium" ) ); ///JEFFF.3.3 139 names.insert(std::pair<G4String, G4String>(" << 139 140 names.insert(std::pair<G4String, G4String>(" << 140 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BERYLLIUM_OXIDE" , "Be" ) , "be_beo" ) ); 141 " << 141 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BERYLLIUM_OXIDE" , "O" ) , "o_beo" ) ); 142 names.insert(std::pair<G4String, G4String>(" << 142 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_GRAPHITE" , "C" ) , "graphite" ) ); 143 " << 143 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_POLYETHYLENE" , "H" ) , "h_polyethylene" ) ); 144 names.insert( << 144 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_URANIUM_OXIDE" , "O" ) , "o_uo2" ) ); 145 std::pair<G4String, G4String>("TS_U235_of_ << 145 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_URANIUM_OXIDE" , "U" ) , "u_uo2" ) ); 146 names.insert( << 146 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_WATER" , "H" ) , "h_water" ) ); 147 std::pair<G4String, G4String>("TS_U238_of_ << 147 148 names.insert( << 148 //nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BENZENE" , "H" ) , "benzen" ) ); 149 std::pair<G4String, G4String>("TS_Si28_of_ << 149 //nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BENZENE" , "C" ) , "benzen" ) ); 150 names.insert( << 150 151 std::pair<G4String, G4String>("TS_Si29_of_ << 151 152 names.insert( << 152 153 std::pair<G4String, G4String>("TS_Si30_of_ << 153 154 names.insert(std::pair<G4String, G4String>(" << 155 " << 156 names.insert(std::pair<G4String, G4String>(" << 157 " << 158 names.insert(std::pair<G4String, G4String>(" << 159 " << 160 names.insert( << 161 std::pair<G4String, G4String>("TS_Si28_of_ << 162 names.insert( << 163 std::pair<G4String, G4String>("TS_Si29_of_ << 164 names.insert( << 165 std::pair<G4String, G4String>("TS_Si30_of_ << 166 names.insert(std::pair<G4String, G4String>(" << 167 " << 168 names.insert(std::pair<G4String, G4String>(" << 169 " << 170 names.insert(std::pair<G4String, G4String>(" << 171 " << 172 names.insert(std::pair<G4String, G4String>(" << 173 names.insert(std::pair<G4String, G4String>(" << 174 names.insert(std::pair<G4String, G4String>(" << 175 " << 176 names.insert(std::pair<G4String, G4String>(" << 177 " << 178 names.insert(std::pair<G4String, G4String>(" << 179 names.insert(std::pair<G4String, G4String>(" << 180 " << 181 names.insert(std::pair<G4String, G4String>(" << 182 " << 183 names.insert(std::pair<G4String, G4String>(" << 184 " << 185 names.insert( << 186 std::pair<G4String, G4String>("TS_Mg26_of_ << 187 names.insert( << 188 std::pair<G4String, G4String>("TS_Mg25_of_ << 189 names.insert( << 190 std::pair<G4String, G4String>("TS_Mg24_of_ << 191 << 192 nist_names.insert(std::pair<std::pair<G4Stri << 193 std::pair<G4String, G4String>("G4_BERYLLIU << 194 nist_names.insert(std::pair<std::pair<G4Stri << 195 std::pair<G4String, G4String>("G4_BERYLLIU << 196 nist_names.insert(std::pair<std::pair<G4Stri << 197 std::pair<G4String, G4String>("G4_GRAPHITE << 198 nist_names.insert(std::pair<std::pair<G4Stri << 199 std::pair<G4String, G4String>("G4_POLYETHY << 200 nist_names.insert(std::pair<std::pair<G4Stri << 201 std::pair<G4String, G4String>("G4_URANIUM_ << 202 nist_names.insert(std::pair<std::pair<G4Stri << 203 std::pair<G4String, G4String>("G4_URANIUM_ << 204 nist_names.insert(std::pair<std::pair<G4Stri << 205 std::pair<G4String, G4String>("G4_WATER", << 206 << 207 // nist_names.insert ( std::pair < std::pair << 208 // G4String , G4String > ( "G4_BENZENE" , "H << 209 // std::pair < G4String , G4String > , G4Str << 210 // "G4_BENZENE" , "C" ) , "benzen" ) ); << 211 } 154 } 212 155 213 G4bool G4ParticleHPThermalScatteringNames:: << 156 G4ParticleHPThermalScatteringNames::~G4ParticleHPThermalScatteringNames() 214 IsThisThermalElement(const G4String& aname) co << 215 { 157 { 216 G4bool result = false; << 158 ; 217 if (names.find(aname) != names.end()) result << 218 return result; << 219 } 159 } 220 160 221 G4bool G4ParticleHPThermalScatteringNames:: << 161 G4bool G4ParticleHPThermalScatteringNames::IsThisThermalElement( G4String aname) 222 IsThisThermalElement(const G4String& material, << 223 { 162 { 224 G4bool result = false; << 163 G4bool result = false; 225 if (nist_names.find(std::pair<G4String, G4St << 164 if ( names.find ( aname ) != names.end() ) result = true; 226 result = true; << 165 return result; 227 return result; << 228 } 166 } 229 167 230 // Name of G4Element , Name of NDL file << 168 G4bool G4ParticleHPThermalScatteringNames::IsThisThermalElement( G4String material , G4String element ) 231 void G4ParticleHPThermalScatteringNames::AddTh << 232 << 233 { 169 { 234 if (names.find(nameG4Element) == names.end() << 170 G4bool result = false; 235 names.insert(std::pair<G4String, G4String> << 171 if ( nist_names.find ( std::pair<G4String,G4String>(material,element) ) != nist_names.end() ) result = true; >> 172 return result; >> 173 } >> 174 >> 175 //Name of G4Element , Name of NDL file >> 176 void G4ParticleHPThermalScatteringNames::AddThermalElement ( G4String nameG4Element , G4String filename) >> 177 { >> 178 if ( names.find ( nameG4Element ) == names.end() ) names.insert( std::pair<G4String,G4String>( nameG4Element , filename ) ); 236 } 179 } 237 180