Skip to content
Snippets Groups Projects
Commit 07f6e8cc authored by Morfouace's avatar Morfouace
Browse files

Adding Rogers4003C to MaterialManager

parent 58e39c9f
No related branches found
No related tags found
No related merge requests found
Pipeline #69197 passed
......@@ -135,6 +135,19 @@ G4Material* MaterialManager::GetMaterialFromLibrary(string Name,
return material;
}
else if (Name == "Rogers4003C") {
if (!density)
density = 1.79 * g / cm3;
G4Material* material = new G4Material("NPS_" + Name, density, 4);
material->AddElement(GetElementFromLibrary("H"), 2);
material->AddElement(GetElementFromLibrary("C"), 50);
material->AddElement(GetElementFromLibrary("O"), 38);
material->AddElement(GetElementFromLibrary("Si"), 10);
m_Material[Name] = material;
return material;
}
else if (Name == "Mylar") {
if (!density)
density = 1.397 * g / cm3;
......
......@@ -444,10 +444,10 @@ void ChiNu::ConstructDetector(G4LogicalVolume* world){
BuildDetector()->MakeImprint(world,Det_pos,Rot,i);
}
/*G4RotationMatrix* Rot_FC = new G4RotationMatrix(0,0,0);
G4RotationMatrix* Rot_FC = new G4RotationMatrix(0,0,0);
G4ThreeVector Pos_FC = G4ThreeVector(0,0,0) ;
BuildFissionChamber()->MakeImprint(world,Pos_FC,Rot_FC,0);
*/
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment