59 std::cout<<
"\n\n\tcentre of the phantom: " <<centre/
mm<<
" [mm]"<<
G4endl;
60 std::cout<<
"\thalf thickness of the phantom: " <<halfSize/
mm<<
" [mm]\n"<<
G4endl;
68 G4Box *fullWaterPhantomBox =
new G4Box(
"fullWaterPhantomBox", halfSize.
getX(), halfSize.
getY(), halfSize.
getZ());
70 fullWaterPhantomPV =
new G4PVPlacement(0, centre,
"fullWaterPhantomPV", fullWaterPhantomLV, PVWorld,
false, 0);
78 fullWaterPhantomLV->SetRegion(regVol);
85 fullWaterPhantomLV->SetVisAttributes(simpleAlSVisAtt);
88 sensDet=
new CML2SDWithVoxels(
"Water phantom", saving_in_ROG_Voxels_every_events, seed, ROGOutFile, bSaveROG,
G4ThreeVector(0.,0.,0.), halfSize, 100, 100, 100);
97 fullWaterPhantomLV->SetSensitiveDetector(sensDet);