57{
58
60
61
62 G4Material* air = nistManager->FindOrBuildMaterial(
"G4_AIR");
63
64
65
66
67
68
70
71 ghostWorld->GetLogicalVolume()->SetMaterial(air);
73 parallelWorldRegion->AddRootLogicalVolume(ghostWorld->GetLogicalVolume());
74
75
76 G4double detectSize = 125*cm;
78 =
new G4Box(
"GhostBox", detectSize+5*cm, detectSize+5*cm, 80*cm);
79
82 air,
83 "GhostLogical",
84 0, 0, 0);
85
87 "GhostPhysical",
88 ghostLogical,
89 ghostWorld,false,0);
90
91
92
93
94
95
96 G4cout << "Declaring region..." << G4endl;
98 G4cout << "... region declared. Setting it the ghostLogical volume..." << G4endl;
99 ghostRegion->AddRootLogicalVolume(ghostLogical);
100 G4cout << "... succes.\n" << G4endl;
101
102}