52RE02NestedPhantomParameterisation
53::RE02NestedPhantomParameterisation(
const G4ThreeVector& voxelSize,
55 std::vector<G4Material*>& mat):
57 fdX(voxelSize.x()),fdY(voxelSize.y()),fdZ(voxelSize.z()),
66 for ( G4int iz = 0; iz <
fNz; iz++){
84 const G4VTouchable* parentTouch)
86 if(parentTouch==0)
return fMat[0];
91 G4int ix = parentTouch->GetReplicaNumber(0);
92 G4int iy = parentTouch->GetReplicaNumber(1);
96 if ( ix%2 == 0 && iy%2 == 0 && iz%2 == 0 ) mat = fMat[0];