change: world to sphere
This commit is contained in:
parent
f555549db2
commit
13acddf7dc
@ -225,7 +225,7 @@ G4VPhysicalVolume* DetectorConstruction::Construct() {
|
|||||||
DefineMaterials();
|
DefineMaterials();
|
||||||
|
|
||||||
// World
|
// World
|
||||||
G4Box* solidWorld = new G4Box("World", 5. * m, 5. * m, 15. * m);
|
G4Sphere* solidWorld = new G4Sphere("World", 0, 15. * m, 0, 360 * deg, 0, 180 * deg);
|
||||||
G4LogicalVolume* logicWorld = new G4LogicalVolume(solidWorld, G4Material::GetMaterial("Vacuum"), "World");
|
G4LogicalVolume* logicWorld = new G4LogicalVolume(solidWorld, G4Material::GetMaterial("Vacuum"), "World");
|
||||||
G4VPhysicalVolume* physicsWorld = new G4PVPlacement(0, G4ThreeVector(), logicWorld, "World", 0, false, 0, true);
|
G4VPhysicalVolume* physicsWorld = new G4PVPlacement(0, G4ThreeVector(), logicWorld, "World", 0, false, 0, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user