Commit 1647ef34 authored by Valérian Alcindor's avatar Valérian Alcindor
Browse files

Adding Tantalum to MaterialManager.cc

parent ffae4ff6
......@@ -659,6 +659,15 @@ G4Material* MaterialManager::GetMaterialFromLibrary(string Name,double density){
m_Material[Name]=material;
return material;
}
else if(Name == "Ta" || Name == "Tantalum"){
if(!density)
density = 16.601*g/cm3;
G4Material* material = new G4Material("NPS_"+Name,density,1);
material->AddElement(GetElementFromLibrary("Ta"),1);
m_Material[Name]=material;
return material;
}
else if(Name == "Ca"){
if(!density)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment