68 : motherPhys(physicalTreatmentRoom),
69 detectorSD(0), detectorROGeometry(0), matrix(0),
70 phantom(0), detector(0),
71 phantomLogicalVolume(0), detectorLogicalVolume(0),
72 phantomPhysicalVolume(0), detectorPhysicalVolume(0),
140 "phantomLog", 0, 0, 0);
153 red -> SetVisibility(
true);
154 red -> SetForceSolid(
true);
155 red -> SetForceWireframe(
true);
207 skyBlue -> SetVisibility(
true);
208 skyBlue -> SetForceSolid(
true);
231 detectorToWorldPosition)
290 G4Exception(
"HadrontherapyDetectorConstruction::ParametersCheck()",
"Hadrontherapy0001",
FatalException,
"Error: Detector is not fully inside Phantom!");
295 G4Exception(
"HadrontherapyDetectorConstruction::ParametersCheck()",
"Hadrontherapy0002",
FatalException,
"Error: Detector X size must be bigger or equal than that of Voxel X!");
298 G4Exception(
" HadrontherapyDetectorConstruction::ParametersCheck()",
"Hadrontherapy0003",
FatalException,
"Error: Detector Y size must be bigger or equal than that of Voxel Y!");
301 G4Exception(
" HadrontherapyDetectorConstruction::ParametersCheck()",
"Hadrontherapy0004",
FatalException,
"Error: Detector Z size must be bigger or equal than that of Voxel Z!");
320 G4cout <<
"The material of Phantom/Detector has been changed to " << material <<
G4endl;
325 G4cout <<
"WARNING: material \"" << material <<
"\" doesn't exist in NIST elements/materials"
326 " table [located in $G4INSTALL/source/materials/src/G4NistMaterialBuilder.cc]" <<
G4endl;
327 G4cout <<
"Use command \"/parameter/nist\" to see full materials list!" <<
G4endl;
489 G4cout << thePVStore->size() <<
" physical volumes are defined" <<
G4endl;
490 G4bool overlapFlag =
false;
493 for (
size_t i=0;i<thePVStore->size();i++)
496 overlapFlag = (*thePVStore)[i]->CheckOverlaps(res,tol,
true) | overlapFlag; }
498 G4cout <<
"Check: there are overlapping volumes" <<
G4endl;
505 G4cout <<
"The (X,Y,Z) dimensions of the phantom are : (" <<
510 G4cout <<
"The (X,Y,Z) dimensions of the detector are : (" <<
515 G4cout <<
"Displacement between Phantom and World is: ";
520 G4cout <<
"The (X,Y,Z) sizes of the Voxels are: (" <<
525 G4cout <<
"The number of Voxels along (X,Y,Z) is: (" <<