56 std::vector<G4Material*>&
mat):
58 fdX(voxelSize.
x()),fdY(voxelSize.
y()),fdZ(voxelSize.
z()),
67 for (
G4int iz = 0; iz < fNz; iz++){
68 zp = (-fNz+1+2*iz)*fdZ;
87 if(parentTouch==0)
return fMat[0];
97 if ( ix%2 == 0 && iy%2 == 0 && iz%2 == 0 ) mat = fMat[0];
void SetXHalfLength(G4double dx)
void ComputeTransformation(const G4int no, G4VPhysicalVolume *currentPV) const
std::vector< G4Material * > fMat
~RE02NestedPhantomParameterisation()
void SetZHalfLength(G4double dz)
void SetTranslation(const G4ThreeVector &v)
G4Material * GetMaterial(G4int idx) const
std::vector< G4double > fpZ
G4int GetNumberOfMaterials() const
void ComputeDimensions(G4Box &, const G4int, const G4VPhysicalVolume *) const
Definition of the RE02NestedPhantomParameterisation class.
void SetYHalfLength(G4double dy)
virtual G4int GetReplicaNumber(G4int depth=0) const
G4Material * ComputeMaterial(G4VPhysicalVolume *currentVol, const G4int repNo, const G4VTouchable *parentTouch=0)
RE02NestedPhantomParameterisation(const G4ThreeVector &voxelSize, G4int nz, std::vector< G4Material * > &mat)