Geant4 Version: 11.4
Operating System: win11
Compiler/Version: vs2022
CMake Version: 3.21
I tried to use the PhantomParameterisation class to construct a large number of voxels. At first the voxels didn’t fit in the container logical volume. After debugging, I found that the fContainerWall parameters didn’t set. So I got the weird results shown as the uploaded pics.
I want to ask you guys, are there proper way or nominal procedures to use the phantom class?
In my code, i used codes as follows:
fParam->SetVoxelDimensions(fDx / 2, fDy / 2, fDz / 2);
fParam->SetNoVoxels(fNx, fNy, fNz);
fParam->SetMaterials(mats);
fParam->SetSkipEqualMaterials(true);
fParam->BuildContainerSolid(contSolid); //this set the containerWall params
