Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleHPThermalScatteringNames Class Reference

#include <G4ParticleHPThermalScatteringNames.hh>

Public Member Functions

 G4ParticleHPThermalScatteringNames ()
 
 ~G4ParticleHPThermalScatteringNames ()
 
G4bool IsThisThermalElement (G4String)
 
G4bool IsThisThermalElement (G4String, G4String)
 
size_t GetSize ()
 
G4String GetTS_NDL_Name (G4String nameG4Element)
 
G4String GetTS_NDL_Name (G4String material, G4String element)
 
void AddThermalElement (G4String, G4String)
 

Detailed Description

Definition at line 47 of file G4ParticleHPThermalScatteringNames.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPThermalScatteringNames()

G4ParticleHPThermalScatteringNames::G4ParticleHPThermalScatteringNames ( )

23/03/2022 - Added by L. Thulliez (CEA-Saclay)

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0 and JEFFF.3.3

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0 and JEFFF.3.3

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0

ENDF/BVIII.0 and ENDF/BVII.1

ENDF/BVIII.0 and ENDF/BVII.1

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

JEFFF.3.3

Definition at line 45 of file G4ParticleHPThermalScatteringNames.cc.

46{
47 // --------------------------------------------------------------------------------------------------------------------------
48 // Old Geant4 naming - before 23/03/2022 - TSL linked to ENDF/BVII.1 nuclear cross-section G4NDL4.5
49 // --------------------------------------------------------------------------------------------------------------------------
50 /*names.insert ( std::pair < G4String , G4String > ( "TS_Aluminium_Metal" , "al_metal" ) );
51 names.insert ( std::pair < G4String , G4String > ( "TS_Beryllium_Metal" , "be_metal" ) );
52 names.insert ( std::pair < G4String , G4String > ( "TS_Be_of_Beryllium_Oxide" , "be_beo" ) );
53 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Graphite" , "graphite" ) );
54 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Heavy_Water" , "d_heavy_water" ) );
55 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Water" , "h_water" ) );
56 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Zirconium_Hydride" , "h_zrh" ) );
57 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Polyethylene" , "h_polyethylene" ) );
58 names.insert ( std::pair < G4String , G4String > ( "TS_Iron_Metal" , "fe_metal" ) );
59 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Uranium_Dioxide" , "o_uo2" ) );
60 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Beryllium_Oxide" , "o_beo" ) );
61 names.insert ( std::pair < G4String , G4String > ( "TS_U_of_Uranium_Dioxide" , "u_uo2" ) );
62 names.insert ( std::pair < G4String , G4String > ( "TS_U235_of_Uranium_Dioxide" , "u235_uo2" ) );
63 names.insert ( std::pair < G4String , G4String > ( "TS_U238_of_Uranium_Dioxide" , "u238_uo2" ) );
64 names.insert ( std::pair < G4String , G4String > ( "TS_Zr_of_Zirconium_Hydride" , "zr_zrh" ) ); //// ENDF-B71
65
66
67 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Para_Hydrogen" , "h_para_h2" ) );
68 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Ortho_Hydrogen" , "h_ortho_h2" ) );
69
70 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Para_Deuterium" , "d_para_d2" ) );
71 names.insert ( std::pair < G4String , G4String > ( "TS_D_of_Ortho_Deuterium" , "d_ortho_d2" ) );
72
73 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Liquid_Methane", "h_l_ch4" ) );
74 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Solid_Methane", "h_s_ch4" ) ); */
75
76
77 // --------------------------------------------------------------------------------------------------------------------------
78 // New Geant4 naming - after 23/03/2022 - TSL linked to JEFF-3.3 nuclear cross-section G4NDL4.6
79 // --------------------------------------------------------------------------------------------------------------------------
80 ///23/03/2022 - Added by L. Thulliez (CEA-Saclay)
81 names.insert ( std::pair < G4String , G4String > ( "TS_Benzene", "h_benzen" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
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 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 > ( "TS_H_of_Ortho_Hydrogen", "h_ortho_h2" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1
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 > ( "TS_O_of_Uranium_Dioxide", "o_uo2" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
87 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Ice", "o_ice" ) ); ///ENDF/BVIII.0
88 names.insert ( std::pair < G4String , G4String > ( "TS_O_of_Heavy_Water", "o_heavy_water" ) ); ///ENDF/BVIII.0 and JEFFF.3.3
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 > ( "TS_N_of_Uranium_Nitride", "n_un" ) ); ///ENDF/BVIII.0
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 > ( "TS_H_of_Zirconium_Hydride", "h_zrh" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1
93 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Yttrium_Hydride", "h_yh2" ) ); ///ENDF/BVIII.0
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 > ( "TS_H_of_Water", "h_water" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1
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 > ( "TS_H_of_PolymethylMethacrylate", "h_c5o2h8" ) ); ///ENDF/BVIII.0
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 > ( "TS_C_of_Graphite", "graphite" ) ); ///ENDF/BVIII.0 and JEFFF.3.3 and ENDF/BVII.1
100 names.insert ( std::pair < G4String , G4String > ( "TS_C_of_Silicium_Carbide", "c_sic" ) ); ///ENDF/BVIII.0
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 > ( "TS_C_of_Graphite_Porosity_10percent", "graphite_10p" ) ); ///ENDF/BVIII.0
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 > ( "TS_Be_of_Beryllium_Oxide", "be_beo" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
105 names.insert ( std::pair < G4String , G4String > ( "TS_Iron_Metal", "fe_metal" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
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 > ( "TS_Zr91_of_Zirconium_Hydride", "zr91_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
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 > ( "TS_Zr94_of_Zirconium_Hydride", "zr94_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
110 names.insert ( std::pair < G4String , G4String > ( "TS_Zr96_of_Zirconium_Hydride", "zr96_zrh" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
111 names.insert ( std::pair < G4String , G4String > ( "TS_Y_of_Yttrium_Hydride", "y_yh2" ) ); ///ENDF/BVIII.0
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 > ( "TS_U238_of_Uranium_Dioxide", "u238_uo2" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
114 names.insert ( std::pair < G4String , G4String > ( "TS_U235_of_Uranium_Nitride", "u235_un" ) ); ///ENDF/BVIII.0
115 names.insert ( std::pair < G4String , G4String > ( "TS_U238_of_Uranium_Nitride", "u238_un" ) ); ///ENDF/BVIII.0
116 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_SiO2_beta", "si28_sio2_beta" ) ); ///ENDF/BVIII.0
117 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_SiO2_beta", "si29_sio2_beta" ) ); ///ENDF/BVIII.0
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 > ( "TS_Si28_of_SiO2_alpha", "si28_sio2_alpha" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
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 > ( "TS_Si30_of_SiO2_alpha", "si30_sio2_alpha" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
122 names.insert ( std::pair < G4String , G4String > ( "TS_Si28_of_Silicium_Carbide", "si28_sic" ) ); ///ENDF/BVIII.0
123 names.insert ( std::pair < G4String , G4String > ( "TS_Si29_of_Silicium_Carbide", "si29_sic" ) ); ///ENDF/BVIII.0
124 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_Silicium_Carbide", "si30_sic" ) ); ///ENDF/BVIII.0
125 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Solid_Methane", "h_s_ch4" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
126 names.insert ( std::pair < G4String , G4String > ( "TS_Aluminium_Metal", "al_metal" ) ); ///ENDF/BVIII.0 and ENDF/BVII.1
127 names.insert ( std::pair < G4String , G4String > ( "TS_Al_of_Sapphir_SingleCrystal", "al_al2o3_singlecrystal" ) ); ///JEFFF.3.3
128 names.insert ( std::pair < G4String , G4String > ( "TS_Ca_of_CaH2", "ca_cah2" ) ); ///JEFFF.3.3
129 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_CaH2", "h_cah2" ) ); ///JEFFF.3.3
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 > ( "TS_O_of_Sapphir_SingleCrystal", "o_al2o3_singlecrystal" ) ); ///JEFFF.3.3
132 names.insert ( std::pair < G4String , G4String > ( "TS_H_of_Toluene", "h_toluene" ) ); ///JEFFF.3.3
133 names.insert ( std::pair < G4String , G4String > ( "TS_Si30_of_SiO2_SingleCrystal", "si30_sio2_singlecrystal" ) ); ///JEFFF.3.3
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 > ( "TS_Si28_of_SiO2_SingleCrystal", "si28_sio2_singlecrystal" ) ); ///JEFFF.3.3
136 names.insert ( std::pair < G4String , G4String > ( "TS_Mg26_of_Magnesium_Metal", "mg26_magnesium" ) ); ///JEFFF.3.3
137 names.insert ( std::pair < G4String , G4String > ( "TS_Mg25_of_Magnesium_Metal", "mg25_magnesium" ) ); ///JEFFF.3.3
138 names.insert ( std::pair < G4String , G4String > ( "TS_Mg24_of_Magnesium_Metal", "mg24_magnesium" ) ); ///JEFFF.3.3
139
140 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BERYLLIUM_OXIDE" , "Be" ) , "be_beo" ) );
141 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BERYLLIUM_OXIDE" , "O" ) , "o_beo" ) );
142 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_GRAPHITE" , "C" ) , "graphite" ) );
143 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_POLYETHYLENE" , "H" ) , "h_polyethylene" ) );
144 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_URANIUM_OXIDE" , "O" ) , "o_uo2" ) );
145 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_URANIUM_OXIDE" , "U" ) , "u_uo2" ) );
146 nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_WATER" , "H" ) , "h_water" ) );
147
148 //nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BENZENE" , "H" ) , "benzen" ) );
149 //nist_names.insert ( std::pair < std::pair < G4String , G4String > , G4String > ( std::pair < G4String , G4String > ( "G4_BENZENE" , "C" ) , "benzen" ) );
150
151
152
153
154}

◆ ~G4ParticleHPThermalScatteringNames()

G4ParticleHPThermalScatteringNames::~G4ParticleHPThermalScatteringNames ( )

Definition at line 156 of file G4ParticleHPThermalScatteringNames.cc.

157{
158;
159}

Member Function Documentation

◆ AddThermalElement()

void G4ParticleHPThermalScatteringNames::AddThermalElement ( G4String  nameG4Element,
G4String  filename 
)

Definition at line 176 of file G4ParticleHPThermalScatteringNames.cc.

177{
178 if ( names.find ( nameG4Element ) == names.end() ) names.insert( std::pair<G4String,G4String>( nameG4Element , filename ) );
179}

Referenced by G4ParticleHPThermalScattering::AddUserThermalScatteringFile(), and G4ParticleHPThermalScatteringData::AddUserThermalScatteringFile().

◆ GetSize()

size_t G4ParticleHPThermalScatteringNames::GetSize ( )
inline

Definition at line 57 of file G4ParticleHPThermalScatteringNames.hh.

57{ return names.size(); };

◆ GetTS_NDL_Name() [1/2]

G4String G4ParticleHPThermalScatteringNames::GetTS_NDL_Name ( G4String  material,
G4String  element 
)
inline

Definition at line 59 of file G4ParticleHPThermalScatteringNames.hh.

59{ return nist_names.find ( std::pair< G4String , G4String > ( material , element ) )->second; };

◆ GetTS_NDL_Name() [2/2]

G4String G4ParticleHPThermalScatteringNames::GetTS_NDL_Name ( G4String  nameG4Element)
inline

Definition at line 58 of file G4ParticleHPThermalScatteringNames.hh.

58{ return names.find ( nameG4Element )->second; };

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ IsThisThermalElement() [1/2]

G4bool G4ParticleHPThermalScatteringNames::IsThisThermalElement ( G4String  aname)

Definition at line 161 of file G4ParticleHPThermalScatteringNames.cc.

162{
163 G4bool result = false;
164 if ( names.find ( aname ) != names.end() ) result = true;
165 return result;
166}
bool G4bool
Definition: G4Types.hh:86

Referenced by G4ParticleHPThermalScatteringData::BuildPhysicsTable().

◆ IsThisThermalElement() [2/2]

G4bool G4ParticleHPThermalScatteringNames::IsThisThermalElement ( G4String  material,
G4String  element 
)

Definition at line 168 of file G4ParticleHPThermalScatteringNames.cc.

169{
170 G4bool result = false;
171 if ( nist_names.find ( std::pair<G4String,G4String>(material,element) ) != nist_names.end() ) result = true;
172 return result;
173}

The documentation for this class was generated from the following files: