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 // $Id: G4NistManager.hh,v 1.8 2006/06/29 19:11:38 gunter Exp $ >> 27 // GEANT4 tag $Name: geant4-08-01-patch-01 $ >> 28 // >> 29 // 26 // ------------------------------------------- 30 // ------------------------------------------------------------------- 27 // 31 // 28 // GEANT4 Class header file 32 // GEANT4 Class header file 29 // 33 // 30 // File name: G4NistManager 34 // File name: G4NistManager 31 // 35 // 32 // Author: Vladimir Ivanchenko 36 // Author: Vladimir Ivanchenko 33 // 37 // 34 // Creation date: 23.12.2004 38 // Creation date: 23.12.2004 35 // 39 // 36 // Modifications: 40 // Modifications: 37 // 27.02.06 V.Ivanchneko add GetAtomicMassAmu 41 // 27.02.06 V.Ivanchneko add GetAtomicMassAmu and ConstructNewGasMaterial 38 // 11.05.06 V.Ivanchneko add warning flag to F 42 // 11.05.06 V.Ivanchneko add warning flag to FindMaterial method 39 // 17.10.06 V.Ivanchneko add methods: GetAtomi << 40 // GetNistMaterialNames << 41 // 02.05.07 V.Ivanchneko add GetNistFirstIsoto << 42 // 28.07.07 V.Ivanchneko make simple methods i << 43 // 28.10.07 V.Ivanchneko add state, T, P to ma << 44 // 29.04.10 V.Ivanchneko add GetMeanIonisation << 45 // 01.11.10 V.Ivanchneko add G4Pow for fast co << 46 // 09.02.12 P.Gumplinger add ConstructNewIdeal << 47 // 43 // 48 // Class Description: 44 // Class Description: 49 // 45 // 50 // A utility static class 46 // A utility static class 51 // 47 // >> 48 >> 49 // ------------------------------------------------------------------- >> 50 // >> 51 // Class Description: >> 52 // 52 // Element data from the NIST DB on Atomic Wei 53 // Element data from the NIST DB on Atomic Weights and Isotope Compositions 53 // http://physics.nist.gov/PhysRefData/Composi 54 // http://physics.nist.gov/PhysRefData/Compositions/index.html 54 // 55 // 55 // ------------------------------------------- 56 // ------------------------------------------------------------------- >> 57 // 56 58 57 #ifndef G4NistManager_h 59 #ifndef G4NistManager_h 58 #define G4NistManager_h 1 60 #define G4NistManager_h 1 59 61 60 #include "G4ICRU90StoppingData.hh" << 62 #include <vector> >> 63 #include "globals.hh" 61 #include "G4Material.hh" 64 #include "G4Material.hh" 62 #include "G4Element.hh" << 63 #include "G4Isotope.hh" << 64 #include "G4NistElementBuilder.hh" 65 #include "G4NistElementBuilder.hh" 65 #include "G4NistMaterialBuilder.hh" << 66 #include "G4Pow.hh" << 67 #include "globals.hh" << 68 << 69 #include <CLHEP/Units/PhysicalConstants.h> << 70 << 71 #include <vector> << 72 66 >> 67 class G4NistMaterialBuilder; 73 class G4NistMessenger; 68 class G4NistMessenger; 74 69 >> 70 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... >> 71 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... >> 72 75 class G4NistManager 73 class G4NistManager 76 { 74 { 77 public: << 75 >> 76 public: >> 77 78 static G4NistManager* Instance(); 78 static G4NistManager* Instance(); 79 ~G4NistManager(); 79 ~G4NistManager(); 80 80 81 // Get G4Element by index << 81 // Elements 82 // << 82 // 83 inline G4Element* GetElement(std::size_t ind << 83 void RegisterElement (G4Element*); >> 84 void DeRegisterElement(G4Element*); 84 85 >> 86 G4Element* GetElement(size_t index); >> 87 85 // Find or build G4Element by atomic number 88 // Find or build G4Element by atomic number 86 // << 89 G4Element* FindOrBuildElement(G4int Z, G4bool isotopes=true); 87 inline G4Element* FindElement(G4int Z) const << 90 88 inline G4Element* FindOrBuildElement(G4int Z << 89 << 90 // Find or build G4Element by symbol 91 // Find or build G4Element by symbol 91 // << 92 G4Element* FindOrBuildElement(const G4String& symb, G4bool isotopes=true); 92 inline G4Element* FindOrBuildElement(const G << 93 << 94 // Get number of elements << 95 // << 96 inline std::size_t GetNumberOfElements() con << 97 << 98 // Get atomic number by element symbol << 99 // << 100 inline G4int GetZ(const G4String& symb) cons << 101 << 102 // Get atomic weight by element symbol - mea << 103 // an atom with electron shell for the natur << 104 // << 105 inline G4double GetAtomicMassAmu(const G4Str << 106 << 107 // Get atomic weight in atomic units - mean << 108 // with electron shell for the natural isoto << 109 // << 110 inline G4double GetAtomicMassAmu(G4int Z) co << 111 << 112 // Get mass of isotope without electron shel << 113 // << 114 inline G4double GetIsotopeMass(G4int Z, G4in << 115 << 116 // Get mass in Geant4 energy units of an ato << 117 // with the electron shell << 118 // << 119 inline G4double GetAtomicMass(G4int Z, G4int << 120 << 121 // Get total ionisation energy of an atom << 122 // << 123 inline G4double GetTotalElectronBindingEnerg << 124 << 125 // Get N for the first natural isotope << 126 // << 127 inline G4int GetNistFirstIsotopeN(G4int Z) c << 128 93 129 // Get number of natural isotopes << 94 size_t GetNumberOfElements() const; 130 // << 95 G4int GetZ(const G4String& symb) const; 131 inline G4int GetNumberOfNistIsotopes(G4int Z << 96 G4double GetAtomicMassAmu(G4int Z) const; 132 << 97 G4double GetIsotopeMass(G4int Z, G4int N) const; 133 // Get natural isotope abundance << 98 G4double GetIsotopeAbundance(G4int Z, G4int N) const; 134 // << 99 135 inline G4double GetIsotopeAbundance(G4int Z, << 100 void PrintElement(const G4String&); 136 << 101 void PrintElement(G4int Z); 137 // Print element by Z << 102 138 // << 103 void PrintG4Element(const G4String&); 139 inline void PrintElement(G4int Z) const; << 104 140 << 105 141 // Print element from internal DB by symbol, << 106 // Materials 142 // << 107 // 143 void PrintElement(const G4String&) const; << 108 void RegisterMaterial (G4Material*); 144 << 109 void DeRegisterMaterial(G4Material*); 145 // Print G4Element by name, if "all" - print << 110 146 // << 111 G4Material* GetMaterial(size_t index); 147 void PrintG4Element(const G4String&) const; << 112 148 << 113 // Find or build a G4Material by name, from the dataBase 149 // Access to the vector of Geant4 predefined << 114 // 150 // << 115 G4Material* FindOrBuildMaterial(const G4String& name, G4bool isotopes=true, 151 inline const std::vector<G4String>& GetNistE << 116 G4bool warning=false); 152 << 117 153 // Access mean ionisation energy for atoms ( << 118 // construct a G4Material from scratch by atome count 154 // << 119 // 155 inline G4double GetMeanIonisationEnergy(G4in << 120 G4Material* ConstructNewMaterial(const G4String& name, 156 << 121 const std::vector<G4String>& elm, 157 // Access nominal density by atomic number f << 122 const std::vector<G4int>& nbAtoms, 158 // by the index for other NIST materials << 123 G4double dens, G4bool isotopes=true); 159 // << 124 160 inline G4double GetNominalDensity(G4int Z) c << 125 // construct a G4Material from scratch by fraction mass 161 << 126 // 162 // Get G4Material by index << 127 G4Material* ConstructNewMaterial(const G4String& name, 163 // << 128 const std::vector<G4String>& elm, 164 inline G4Material* GetMaterial(std::size_t i << 129 const std::vector<G4double>& weight, 165 << 130 G4double dens, G4bool isotopes=true); 166 // Find or build a G4Material by name, from << 131 167 // << 132 // construct a gas G4Material from scratch by atome count 168 inline G4Material* FindMaterial(const G4Stri << 133 // 169 inline G4Material* FindOrBuildMaterial( << 134 G4Material* ConstructNewGasMaterial(const G4String& name, 170 const G4String& name, G4bool isotopes = tr << 135 const G4String& nameNist, 171 << 136 G4double temp, G4double pres, 172 // Find or build a simple material via atomi << 137 G4bool isotopes=true); 173 // << 174 inline G4Material* FindSimpleMaterial(G4int << 175 inline G4Material* FindOrBuildSimpleMaterial << 176 << 177 // Build G4Material with user defined name a << 178 // of a material from Geant4 dataBase << 179 // << 180 G4Material* BuildMaterialWithNewDensity(cons << 181 G4double density = 0.0, G4double temp = NT << 182 << 183 // Construct a G4Material from scratch by at << 184 // temperature and pressure should be consis << 185 // << 186 inline G4Material* ConstructNewMaterial(cons << 187 const std::vector<G4int>& nbAtoms, G4doubl << 188 G4State state = kStateSolid, G4double temp << 189 G4double pressure = CLHEP::STP_Pressure); << 190 << 191 // Construct a G4Material from scratch by fr << 192 // temperature and pressure should be consis << 193 // << 194 inline G4Material* ConstructNewMaterial(cons << 195 const std::vector<G4double>& weight, G4dou << 196 G4State state = kStateSolid, G4double temp << 197 G4double pressure = CLHEP::STP_Pressure); << 198 << 199 // Construct a gas G4Material from scratch b << 200 // << 201 inline G4Material* ConstructNewGasMaterial(c << 202 G4double temp, G4double pres, G4bool isoto << 203 << 204 // Construct an ideal gas G4Material from sc << 205 // << 206 inline G4Material* ConstructNewIdealGasMater << 207 const std::vector<G4String>& elm, const st << 208 G4double temp = NTP_Temperature, G4double << 209 << 210 // enable/disable density effect calculator << 211 // << 212 void SetDensityEffectCalculatorFlag(const G4 << 213 << 214 // enable/disable density effect calculator << 215 // << 216 void SetDensityEffectCalculatorFlag(G4Materi << 217 << 218 // Get number of G4Materials << 219 // << 220 inline std::size_t GetNumberOfMaterials() co << 221 << 222 inline G4int GetVerbose() const; << 223 138 >> 139 size_t GetNumberOfMaterials() {return nMaterials;}; >> 140 224 void SetVerbose(G4int); 141 void SetVerbose(G4int); >> 142 G4int GetVerbose(); 225 143 226 // Print G4Material by name << 144 void ListMaterials(const G4String&); 227 // << 145 void PrintG4Material(const G4String&); 228 void PrintG4Material(const G4String&) const; << 229 146 230 // Print predefined Geant4 materials: << 147 private: 231 // "simple" - only pure materials in basic s << 232 // "compound" - NIST compounds << 233 // "hep" - HEP materials and compounds << 234 // "bio" - bio-medical materials and compoun << 235 // "all" - all << 236 // << 237 inline void ListMaterials(const G4String&) c << 238 << 239 // Access to the list of names of Geant4 pre << 240 // << 241 inline const std::vector<G4String>& GetNistM << 242 << 243 // Fast computation of Z^1/3 << 244 // << 245 inline G4double GetZ13(G4double Z) const; << 246 inline G4double GetZ13(G4int Z) const; << 247 << 248 // Fast computation of A^0.27 for natuaral a << 249 // << 250 inline G4double GetA27(G4int Z) const; << 251 148 252 // Fast computation of log(A) << 253 // << 254 inline G4double GetLOGZ(G4int Z) const; << 255 inline G4double GetLOGAMU(G4int Z) const; << 256 << 257 G4ICRU90StoppingData* GetICRU90StoppingData( << 258 << 259 private: << 260 G4NistManager(); 149 G4NistManager(); 261 << 150 static G4NistManager* instance; 262 std::vector<G4Element*> elements; << 151 263 std::vector<G4Material*> materials; << 152 std::vector<G4Element*> elements; 264 << 153 std::vector<G4Material*> materials; 265 G4ICRU90StoppingData* fICRU90; << 154 266 G4NistElementBuilder* elmBuilder; << 155 size_t nElements; 267 G4NistMaterialBuilder* matBuilder; << 156 size_t nMaterials; 268 G4NistMessenger* messenger; << 157 269 G4Pow* g4pow; << 158 G4int verbose; 270 const G4MaterialTable* theMaterialTable; << 159 271 const G4ElementTable* theElementTable; << 160 G4NistElementBuilder* elmBuilder; 272 const G4IsotopeTable* theIsotopeTable; << 161 G4NistMaterialBuilder* matBuilder; 273 << 162 G4NistMessenger* messenger; 274 G4double POWERA27[101]; << 275 G4double LOGAZ[101]; << 276 << 277 std::size_t nElements; << 278 std::size_t nMaterials; << 279 G4int verbose; << 280 }; 163 }; 281 164 282 //....oooOO0OOooo........oooOO0OOooo........oo 165 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 283 << 284 inline std::size_t G4NistManager::GetNumberOfM << 285 << 286 //....oooOO0OOooo........oooOO0OOooo........oo 166 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 287 167 288 inline G4Element* G4NistManager::GetElement(st << 168 inline >> 169 G4Element* G4NistManager::GetElement(size_t index) 289 { 170 { 290 return (index < theElementTable->size()) ? ( << 171 G4Element* elm = 0; >> 172 if(index < nElements) elm = elements[index]; >> 173 return elm; 291 } 174 } 292 175 293 //....oooOO0OOooo........oooOO0OOooo........oo 176 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 294 177 295 inline G4Element* G4NistManager::FindElement(G << 178 inline 296 << 179 G4Element* G4NistManager::FindOrBuildElement(G4int Z, G4bool isotopes) 297 //....oooOO0OOooo........oooOO0OOooo........oo << 298 << 299 inline G4Element* G4NistManager::FindOrBuildEl << 300 { 180 { 301 return elmBuilder->FindOrBuildElement(Z, iso 181 return elmBuilder->FindOrBuildElement(Z, isotopes); 302 } 182 } 303 183 304 //....oooOO0OOooo........oooOO0OOooo........oo 184 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 305 185 306 inline G4Element* G4NistManager::FindOrBuildEl << 186 inline >> 187 G4Element* G4NistManager::FindOrBuildElement(const G4String& symb, >> 188 G4bool isotopes) 307 { 189 { 308 return elmBuilder->FindOrBuildElement(symb, 190 return elmBuilder->FindOrBuildElement(symb, isotopes); 309 } 191 } 310 192 311 //....oooOO0OOooo........oooOO0OOooo........oo 193 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 312 194 313 inline std::size_t G4NistManager::GetNumberOfE << 195 inline 314 << 196 size_t G4NistManager::GetNumberOfElements() const 315 //....oooOO0OOooo........oooOO0OOooo........oo << 197 { 316 << 198 return nElements; 317 inline G4int G4NistManager::GetZ(const G4Strin << 318 << 319 //....oooOO0OOooo........oooOO0OOooo........oo << 320 << 321 inline G4double G4NistManager::GetAtomicMassAm << 322 { << 323 return elmBuilder->GetAtomicMassAmu(symb); << 324 } << 325 << 326 //....oooOO0OOooo........oooOO0OOooo........oo << 327 << 328 inline G4double G4NistManager::GetAtomicMassAm << 329 { << 330 return elmBuilder->GetAtomicMassAmu(Z); << 331 } 199 } 332 200 333 //....oooOO0OOooo........oooOO0OOooo........oo 201 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 334 202 335 inline G4double G4NistManager::GetIsotopeMass( << 203 inline >> 204 G4int G4NistManager::GetZ(const G4String& symb) const 336 { 205 { 337 return elmBuilder->GetIsotopeMass(Z, N); << 206 return elmBuilder->GetZ(symb); 338 } 207 } 339 208 340 //....oooOO0OOooo........oooOO0OOooo........oo 209 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 341 210 342 inline G4double G4NistManager::GetAtomicMass(G << 211 inline >> 212 G4double G4NistManager::GetAtomicMassAmu(G4int Z) const 343 { 213 { 344 return elmBuilder->GetAtomicMass(Z, N); << 214 return elmBuilder->GetA(Z); 345 } 215 } 346 216 347 //....oooOO0OOooo........oooOO0OOooo........oo 217 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 348 218 349 inline G4double G4NistManager::GetTotalElectro << 219 inline >> 220 G4double G4NistManager::GetIsotopeMass(G4int Z, G4int N) const 350 { 221 { 351 return elmBuilder->GetTotalElectronBindingEn << 222 return elmBuilder->GetIsotopeMass(Z, N); 352 } 223 } 353 224 354 //....oooOO0OOooo........oooOO0OOooo........oo 225 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 355 226 356 inline G4double G4NistManager::GetIsotopeAbund << 227 inline >> 228 G4double G4NistManager::GetIsotopeAbundance(G4int Z, G4int N) const 357 { 229 { 358 return elmBuilder->GetIsotopeAbundance(Z, N) 230 return elmBuilder->GetIsotopeAbundance(Z, N); 359 } 231 } 360 232 361 //....oooOO0OOooo........oooOO0OOooo........oo 233 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 362 234 363 inline G4int G4NistManager::GetNistFirstIsotop << 235 inline 364 { << 236 G4Material* G4NistManager::GetMaterial(size_t index) 365 return elmBuilder->GetNistFirstIsotopeN(Z); << 366 } << 367 << 368 //....oooOO0OOooo........oooOO0OOooo........oo << 369 << 370 inline G4int G4NistManager::GetNumberOfNistIso << 371 { << 372 return elmBuilder->GetNumberOfNistIsotopes(Z << 373 } << 374 << 375 //....oooOO0OOooo........oooOO0OOooo........oo << 376 << 377 inline const std::vector<G4String>& G4NistMana << 378 { << 379 return elmBuilder->GetElementNames(); << 380 } << 381 << 382 //....oooOO0OOooo........oooOO0OOooo........oo << 383 << 384 inline G4double G4NistManager::GetMeanIonisati << 385 { << 386 return matBuilder->GetMeanIonisationEnergy(Z << 387 } << 388 << 389 //....oooOO0OOooo........oooOO0OOooo........oo << 390 << 391 inline G4double G4NistManager::GetNominalDensi << 392 { << 393 return matBuilder->GetNominalDensity(Z); << 394 } << 395 << 396 //....oooOO0OOooo........oooOO0OOooo........oo << 397 << 398 inline void G4NistManager::PrintElement(G4int << 399 << 400 //....oooOO0OOooo........oooOO0OOooo........oo << 401 << 402 inline G4Material* G4NistManager::GetMaterial( << 403 { << 404 return (index < theMaterialTable->size()) ? << 405 } << 406 << 407 //....oooOO0OOooo........oooOO0OOooo........oo << 408 << 409 inline G4int G4NistManager::GetVerbose() const << 410 << 411 //....oooOO0OOooo........oooOO0OOooo........oo << 412 << 413 inline G4Material* G4NistManager::FindMaterial << 414 { << 415 return matBuilder->FindMaterial(name); << 416 } << 417 << 418 //....oooOO0OOooo........oooOO0OOooo........oo << 419 << 420 inline G4Material* G4NistManager::FindOrBuildM << 421 { << 422 return matBuilder->FindOrBuildMaterial(name, << 423 } << 424 << 425 //....oooOO0OOooo........oooOO0OOooo........oo << 426 << 427 inline G4Material* G4NistManager::FindSimpleMa << 428 { 237 { 429 return matBuilder->FindSimpleMaterial(Z); << 238 G4Material* mat = 0; >> 239 if(index < nMaterials) mat = materials[index]; >> 240 return mat; 430 } 241 } 431 242 432 //....oooOO0OOooo........oooOO0OOooo........oo 243 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 433 244 434 inline G4Material* G4NistManager::FindOrBuildS << 245 inline >> 246 G4int G4NistManager::GetVerbose() 435 { 247 { 436 return matBuilder->FindOrBuildSimpleMaterial << 248 return verbose; 437 } << 438 << 439 //....oooOO0OOooo........oooOO0OOooo........oo << 440 << 441 inline G4Material* G4NistManager::ConstructNew << 442 const std::vector<G4String>& elm, const std: << 443 G4State state, G4double T, G4double P) << 444 << 445 { << 446 return matBuilder->ConstructNewMaterial(name << 447 } << 448 << 449 //....oooOO0OOooo........oooOO0OOooo........oo << 450 << 451 inline G4Material* G4NistManager::ConstructNew << 452 const std::vector<G4String>& elm, const std: << 453 G4State state, G4double T, G4double P) << 454 { << 455 return matBuilder->ConstructNewMaterial(name << 456 } << 457 << 458 //....oooOO0OOooo........oooOO0OOooo........oo << 459 << 460 inline G4Material* G4NistManager::ConstructNew << 461 const G4String& name, const G4String& nameNi << 462 { << 463 return matBuilder->ConstructNewGasMaterial(n << 464 } << 465 << 466 //....oooOO0OOooo........oooOO0OOooo........oo << 467 << 468 inline G4Material* G4NistManager::ConstructNew << 469 const std::vector<G4String>& elm, const std: << 470 G4double P) << 471 { << 472 return matBuilder->ConstructNewIdealGasMater << 473 } << 474 << 475 //....oooOO0OOooo........oooOO0OOooo........oo << 476 << 477 inline void G4NistManager::ListMaterials(const << 478 { << 479 matBuilder->ListMaterials(list); << 480 } << 481 << 482 //....oooOO0OOooo........oooOO0OOooo........oo << 483 << 484 inline const std::vector<G4String>& G4NistMana << 485 { << 486 return matBuilder->GetMaterialNames(); << 487 } << 488 << 489 //....oooOO0OOooo........oooOO0OOooo........oo << 490 << 491 inline G4double G4NistManager::GetZ13(G4double << 492 << 493 //....oooOO0OOooo........oooOO0OOooo........oo << 494 << 495 inline G4double G4NistManager::GetZ13(G4int Z) << 496 << 497 //....oooOO0OOooo........oooOO0OOooo........oo << 498 << 499 inline G4double G4NistManager::GetA27(G4int Z) << 500 { << 501 return (0 <= Z && Z < 101) ? POWERA27[Z] : g << 502 } << 503 << 504 //....oooOO0OOooo........oooOO0OOooo........oo << 505 << 506 inline G4double G4NistManager::GetLOGZ(G4int Z << 507 << 508 //....oooOO0OOooo........oooOO0OOooo........oo << 509 << 510 inline G4double G4NistManager::GetLOGAMU(G4int << 511 { << 512 return (0 <= Z && Z < 101) ? LOGAZ[Z] : 0.0; << 513 } 249 } 514 250 515 //....oooOO0OOooo........oooOO0OOooo........oo 251 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 516 252 517 #endif 253 #endif >> 254 518 255