Geant4-11
|
#include <G4PhantomParameterisation.hh>
Protected Attributes | |
G4bool | bSkipEqualMaterials = true |
G4VSolid * | fContainerSolid = nullptr |
G4double | fContainerWallX =0.0 |
G4double | fContainerWallY =0.0 |
G4double | fContainerWallZ =0.0 |
size_t * | fMaterialIndices = nullptr |
std::vector< G4Material * > | fMaterials |
size_t | fNoVoxels = 0 |
size_t | fNoVoxelsX = 0 |
size_t | fNoVoxelsXY = 0 |
size_t | fNoVoxelsY = 0 |
size_t | fNoVoxelsZ = 0 |
G4double | fVoxelHalfX = 0.0 |
G4double | fVoxelHalfY = 0.0 |
G4double | fVoxelHalfZ = 0.0 |
G4double | kCarTolerance |
Private Member Functions | |
void | CheckCopyNo (const G4int copyNo) const |
void | ComputeVoxelIndices (const G4int copyNo, size_t &nx, size_t &ny, size_t &nz) const |
Definition at line 68 of file G4PhantomParameterisation.hh.
G4PhantomParameterisation::G4PhantomParameterisation | ( | ) |
Definition at line 42 of file G4PhantomParameterisation.cc.
References G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and kCarTolerance.
G4PhantomParameterisation::~G4PhantomParameterisation | ( | ) |
Definition at line 49 of file G4PhantomParameterisation.cc.
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VPhysicalVolume * | pPhysicalVol | ) |
Definition at line 55 of file G4PhantomParameterisation.cc.
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelsX, fNoVoxelsY, fNoVoxelsZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VSolid * | pMotherSolid | ) |
Definition at line 67 of file G4PhantomParameterisation.cc.
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelsX, fNoVoxelsY, fNoVoxelsZ, fVoxelHalfX, fVoxelHalfY, and fVoxelHalfZ.
|
private |
Definition at line 390 of file G4PhantomParameterisation.cc.
References FatalErrorInArgument, fNoVoxels, G4endl, and G4Exception().
Referenced by ComputeMaterial(), ComputeVoxelIndices(), GetMaterialIndex(), and GetTranslation().
void G4PhantomParameterisation::CheckVoxelsFillContainer | ( | G4double | contX, |
G4double | contY, | ||
G4double | contZ | ||
) | const |
Definition at line 175 of file G4PhantomParameterisation.cc.
References FatalException, fContainerSolid, fNoVoxelsX, fNoVoxelsY, fNoVoxelsZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, and kCarTolerance.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 84 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 92 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 98 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 104 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 94 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 102 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 106 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 108 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 96 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 100 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 90 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 88 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 86 of file G4PhantomParameterisation.hh.
|
virtual |
Reimplemented from G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 119 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), fMaterials, and GetMaterialIndex().
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and G4RegularNavigation::LevelLocate().
|
virtual |
Reimplemented from G4VPVParameterisation.
Definition at line 111 of file G4PhantomParameterisation.cc.
References G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
|
virtual |
Implements G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 80 of file G4PhantomParameterisation.cc.
References GetTranslation(), and G4VPhysicalVolume::SetTranslation().
Referenced by G4RegularNavigation::LevelLocate().
|
private |
Definition at line 163 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), fNoVoxelsX, fNoVoxelsXY, and fNoVoxelsY.
Referenced by GetTranslation().
|
inline |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | copyNo | ) | const |
Definition at line 157 of file G4PhantomParameterisation.cc.
References fMaterials, and GetMaterialIndex().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 151 of file G4PhantomParameterisation.cc.
References fMaterials, and GetMaterialIndex().
Referenced by G4EnergySplitter::SplitEnergyInVolumes().
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | copyNo | ) | const |
Definition at line 130 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), and fMaterialIndices.
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 141 of file G4PhantomParameterisation.cc.
References fNoVoxelsX, fNoVoxelsXY, and GetMaterialIndex().
Referenced by ComputeMaterial(), GetMaterial(), and GetMaterialIndex().
|
inline |
|
inline |
|
virtualinherited |
Reimplemented in G4VNestedParameterisation.
Definition at line 62 of file G4VPVParameterisation.cc.
Referenced by G4Region::ScanVolumeTree().
|
inline |
Referenced by G4RegularNavigation::LevelLocate().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
virtual |
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 222 of file G4PhantomParameterisation.cc.
References FatalErrorInArgument, fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelsX, fNoVoxelsXY, fNoVoxelsY, fNoVoxelsZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::Inside(), JustWarning, kCarTolerance, kOutside, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4RegularNavigation::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and G4RegularNavigation::LevelLocate().
G4ThreeVector G4PhantomParameterisation::GetTranslation | ( | const G4int | copyNo | ) | const |
Definition at line 92 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), ComputeVoxelIndices(), fContainerWallX, fContainerWallY, fContainerWallZ, fVoxelHalfX, fVoxelHalfY, and fVoxelHalfZ.
Referenced by G4RegularNavigation::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and ComputeTransformation().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
virtualinherited |
Reimplemented in G4VNestedParameterisation.
Definition at line 55 of file G4VPVParameterisation.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4Navigator::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().
|
inline |
|
inline |
void G4PhantomParameterisation::SetNoVoxels | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) |
void G4PhantomParameterisation::SetSkipEqualMaterials | ( | G4bool | skip | ) |
void G4PhantomParameterisation::SetVoxelDimensions | ( | G4double | halfx, |
G4double | halfy, | ||
G4double | halfz | ||
) |
G4bool G4PhantomParameterisation::SkipEqualMaterials | ( | ) | const |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
|
protected |
Definition at line 192 of file G4PhantomParameterisation.hh.
|
protected |
Definition at line 182 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), CheckVoxelsFillContainer(), and GetReplicaNo().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 179 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::GetMaterialIndex(), and GetMaterialIndex().
|
protected |
Definition at line 177 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::ComputeMaterial(), ComputeMaterial(), G4PartialPhantomParameterisation::GetMaterial(), and GetMaterial().
|
protected |
Definition at line 174 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::CheckCopyNo(), and CheckCopyNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 172 of file G4PhantomParameterisation.hh.
Referenced by ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), and GetReplicaNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::ComputeVoxelIndices(), ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 189 of file G4PhantomParameterisation.hh.
Referenced by CheckVoxelsFillContainer(), G4PhantomParameterisation(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().