W pliku
src/MyDetectorConstruction.cc (zmiany kolorem
czerwonym)
...............................................................................................
#include "G4NistManager.hh"
...............................................................................................
void MyDetectorConstruction::SetupGeometry()
{
// NIST definition of air
//
G4Material* air = G4Material::GetMaterial("Air");
G4NistManager* man =
G4NistManager::Instance();
G4Material* air =
man->FindOrBuildMaterial("G4_AIR");
G4cout << air
<< G4endl;
// World volume
G4Box* worldSolid = new
G4Box("World_Solid",
// Name
2.0*m, 2.0*m, 2.0*m); // Half lengths
......................................................................................................