75 G4mstgbisot::const_iterator isotcite;
79 delete (*isotcite).second;
83 G4mstgbelem::const_iterator elemcite;
87 delete (*elemcite).second;
91 G4mstgbmate::const_iterator matcite;
95 delete (*matcite).second;
108 G4mstgrisot::const_iterator cite;
109 for( cite = tgrIsots.begin(); cite != tgrIsots.end(); cite++ )
123 G4mstgrelem::const_iterator cite;
124 for( cite = tgrElems.begin(); cite != tgrElems.end(); cite++ )
138 G4mstgrmate::const_iterator cite;
139 for( cite = tgrMates.begin(); cite != tgrMates.end(); cite++ )
143 if( tgr->
GetType() ==
"MaterialSimple" ) {
145 }
else if( tgr->
GetType() ==
"MaterialMixtureByWeight" ) {
147 }
else if( tgr->
GetType() ==
"MaterialMixtureByNoAtoms" ) {
149 }
else if( tgr->
GetType() ==
"MaterialMixtureByVolume" ) {
177 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Isotope() -"
178 <<
" G4Isotope already built: " << g4isot->
GetName() <<
G4endl;
186 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Isotope() - Isotope: "
199 G4msg4isot::const_iterator cite =
theG4Isotopes.find( name );
202 g4isot = (*cite).second;
206 G4cout <<
" G4tgbMaterialMgr::FindBuiltG4Isotope() - Isotope: "
207 << name <<
" = " << g4isot <<
G4endl;
229 G4cout <<
" G4tgbMaterialMgr::FindG4tgbIsotope() -"
230 <<
" G4tgbIsotope found: " << ( (*cite).second )->GetName()
234 isot = (*cite).second;
236 if( (isot == 0) && bMustExist )
238 G4String ErrMessage =
"Isotope " + name +
" not found !";
239 G4Exception(
"G4tgbMaterialMgr::FindG4tgbIsotope()",
258 G4cout <<
" G4NistManager::Instance()->FindOrBuildElement( " <<
G4endl;
263 if( tgbelem->
GetType() ==
"ElementSimple" )
267 else if( tgbelem->
GetType() ==
"ElementFromIsotopes" )
274 +
" does not exist !";
286 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Element() - Element: "
295 G4String ErrMessage =
"Element " + name +
" not found !";
296 G4Exception(
"G4tgbMaterialMgr::FindOrBuildG4Element()",
302 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Element() - Element: "
303 << name <<
" not found " <<
G4endl;
313 G4cout <<
" G4tgbMaterialMgr::GetG4Element() -"
314 <<
" G4Element already built: " << g4elem->
GetName() <<
G4endl;
328 G4msg4elem::const_iterator cite =
theG4Elements.find( name );
331 g4elem = (*cite).second;
335 G4cout <<
" G4tgbMaterialMgr::FindBuiltG4Element() - Element: "
336 << name <<
" = " << g4elem <<
G4endl;
357 G4cout <<
" G4tgbMaterialMgr::FindG4tgbElement() -"
358 <<
" G4tgbElement found: " << ( (*cite).second )->GetName()
362 elem = (*cite).second;
364 if( (elem == 0) && bMustExist )
366 G4String ErrMessage =
"Element " + name +
" not found !";
367 G4Exception(
"G4tgbMaterialMgr::FindG4tgbElement()",
396 GetTgrMate()->GetIonisationMeanExcitationEnergy());
407 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Material() - Material: "
416 G4String ErrMessage =
"Material " + name +
" not found !";
417 G4Exception(
"G4tgbMaterialMgr::FindOrBuildG4Material()",
423 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Material() - Element: "
424 << name <<
" not found " <<
G4endl;
434 G4cout <<
" G4tgbMaterialMgr::FindOrBuildG4Material() -"
435 <<
" G4Material already built: " << g4mate->
GetName() <<
G4endl;
452 g4mate = (*cite).second;
456 G4cout <<
" G4tgbMaterialMgr::FindBuiltG4Material() - Material: "
457 << name <<
" = " << g4mate <<
G4endl;
474 mate = (*cite).second;
478 G4cout <<
" G4tgbMaterialMgr::FindG4tgbMaterial() -"
479 <<
" G4tgbMaterial found: " << ( (*cite).second )->GetName()
480 <<
" type " << ( (*cite).second )->GetName() <<
G4endl;
485 if( (mate == 0) && bMustExist )
487 G4String ErrMessage =
"Material " + name +
" not found !";
488 G4Exception(
"G4tgbMaterialMgr::FindG4tgbMaterial()",