ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/navigation/include/G4PhantomParameterisation.hh>
Protected Attributes | |
G4double | fVoxelHalfX = 0.0 |
G4double | fVoxelHalfY = 0.0 |
G4double | fVoxelHalfZ = 0.0 |
size_t | fNoVoxelX = 0 |
size_t | fNoVoxelY = 0 |
size_t | fNoVoxelZ = 0 |
size_t | fNoVoxelXY = 0 |
size_t | fNoVoxel = 0 |
std::vector< G4Material * > | fMaterials |
size_t * | fMaterialIndices = nullptr |
G4VSolid * | fContainerSolid = nullptr |
G4double | fContainerWallX =0.0 |
G4double | fContainerWallY =0.0 |
G4double | fContainerWallZ =0.0 |
G4double | kCarTolerance |
G4bool | bSkipEqualMaterials = true |
Private Member Functions | |
void | ComputeVoxelIndices (const G4int copyNo, size_t &nx, size_t &ny, size_t &nz) const |
void | CheckCopyNo (const G4int copyNo) const |
Definition at line 68 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 68 of file G4PhantomParameterisation.hh
G4PhantomParameterisation::G4PhantomParameterisation | ( | ) |
Definition at line 42 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 42 of file G4PhantomParameterisation.cc
References G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and kCarTolerance.
G4PhantomParameterisation::~G4PhantomParameterisation | ( | ) |
Definition at line 49 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 49 of file G4PhantomParameterisation.cc
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VPhysicalVolume * | pPhysicalVol | ) |
Definition at line 56 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 56 of file G4PhantomParameterisation.cc
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
Referenced by DicomRegularDetectorConstruction::ConstructPhantom().
Definition at line 68 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 68 of file G4PhantomParameterisation.cc
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, and fVoxelHalfZ.
Definition at line 380 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 380 of file G4PhantomParameterisation.cc
References FatalErrorInArgument, fNoVoxel, G4endl, G4Exception(), and message().
Referenced by ComputeMaterial(), ComputeVoxelIndices(), GetMaterialIndex(), and GetTranslation().
void G4PhantomParameterisation::CheckVoxelsFillContainer | ( | G4double | contX, |
G4double | contY, | ||
G4double | contZ | ||
) | const |
Definition at line 176 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 176 of file G4PhantomParameterisation.cc
References FatalException, fContainerSolid, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, kCarTolerance, and message().
Referenced by DicomRegularDetectorConstruction::ConstructPhantom().
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 84 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 84 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 86 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 86 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 88 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 88 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 90 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 90 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 92 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 92 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 94 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 94 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 96 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 96 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 98 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 98 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 100 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 100 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 102 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 102 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 104 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 104 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 106 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 106 of file G4PhantomParameterisation.hh
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 108 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 108 of file G4PhantomParameterisation.hh
|
virtual |
Reimplemented from G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation, and DicomPhantomParameterisationColour.
Definition at line 120 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 120 of file G4PhantomParameterisation.cc
References CheckCopyNo(), fMaterials, and GetMaterialIndex().
Referenced by G4GMocrenFileSceneHandler::AddSolid(), DicomPhantomParameterisationColour::ComputeMaterial(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and G4RegularNavigation::LevelLocate().
|
virtual |
Reimplemented from G4VPVParameterisation.
Definition at line 112 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 112 of file G4PhantomParameterisation.cc
References G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
|
virtual |
Implements G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 81 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 81 of file G4PhantomParameterisation.cc
References GetTranslation(), and G4VPhysicalVolume::SetTranslation().
Referenced by G4RegularNavigation::LevelLocate().
|
private |
Definition at line 164 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 164 of file G4PhantomParameterisation.cc
References CheckCopyNo(), fNoVoxelX, fNoVoxelXY, and fNoVoxelY.
Referenced by GetTranslation().
|
inline |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 151 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 151 of file G4PhantomParameterisation.cc
References fMaterials, and GetMaterialIndex().
Referenced by DicomIntersectVolume::SetNewValue(), and G4EnergySplitter::SplitEnergyInVolumes().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | copyNo | ) | const |
Definition at line 157 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 157 of file G4PhantomParameterisation.cc
References fMaterials, and GetMaterialIndex().
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 142 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 142 of file G4PhantomParameterisation.cc
References fNoVoxelX, and fNoVoxelXY.
Referenced by DicomPhantomParameterisationColour::ComputeMaterial(), ComputeMaterial(), GetMaterial(), and DicomIntersectVolume::SetNewValue().
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | copyNo | ) | const |
Definition at line 131 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 131 of file G4PhantomParameterisation.cc
References CheckCopyNo(), and fMaterialIndices.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
virtual |
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 223 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 223 of file G4PhantomParameterisation.cc
References FatalErrorInArgument, fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelXY, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::Inside(), JustWarning, kCarTolerance, kOutside, message(), 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 93 of file G4PhantomParameterisation.cc.
View newest version in sPHENIX GitHub at line 93 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(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
|
inline |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
void G4PhantomParameterisation::SetNoVoxel | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
Referenced by DicomPartialDetectorConstruction::ConstructPhantom(), and DicomPhantomParameterisationColour::DicomPhantomParameterisationColour().
void G4PhantomParameterisation::SetVoxelDimensions | ( | G4double | halfx, |
G4double | halfy, | ||
G4double | halfz | ||
) |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
G4bool G4PhantomParameterisation::SkipEqualMaterials | ( | ) | const |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
Definition at line 192 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 192 of file G4PhantomParameterisation.hh
|
protected |
Definition at line 182 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub at line 182 of file G4PhantomParameterisation.hh
Referenced by BuildContainerSolid(), CheckVoxelsFillContainer(), and GetReplicaNo().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 179 of file G4PhantomParameterisation.hh
Referenced by G4PartialPhantomParameterisation::GetMaterialIndex(), and GetMaterialIndex().
|
protected |
Definition at line 177 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 174 of file G4PhantomParameterisation.hh
Referenced by G4PartialPhantomParameterisation::CheckCopyNo(), and CheckCopyNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 172 of file G4PhantomParameterisation.hh
Referenced by ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), and GetReplicaNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 189 of file G4PhantomParameterisation.hh
Referenced by CheckVoxelsFillContainer(), G4PhantomParameterisation(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().