Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4PhantomParameterisation.hh>
Public Member Functions | |
G4PhantomParameterisation () | |
~G4PhantomParameterisation () override | |
void | ComputeTransformation (const G4int, G4VPhysicalVolume *) const override |
G4VSolid * | ComputeSolid (const G4int, G4VPhysicalVolume *) override |
G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr) override |
void | ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const override |
void | ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const override |
void | BuildContainerSolid (G4VPhysicalVolume *pPhysicalVol) |
void | BuildContainerSolid (G4VSolid *pMotherSolid) |
virtual G4int | GetReplicaNo (const G4ThreeVector &localPoint, const G4ThreeVector &localDir) |
void | SetMaterials (std::vector< G4Material * > &mates) |
void | SetMaterialIndices (std::size_t *matInd) |
void | SetVoxelDimensions (G4double halfx, G4double halfy, G4double halfz) |
void | SetNoVoxels (std::size_t nx, std::size_t ny, std::size_t nz) |
G4double | GetVoxelHalfX () const |
G4double | GetVoxelHalfY () const |
G4double | GetVoxelHalfZ () const |
std::size_t | GetNoVoxelsX () const |
std::size_t | GetNoVoxelsY () const |
std::size_t | GetNoVoxelsZ () const |
std::size_t | GetNoVoxels () const |
std::vector< G4Material * > | GetMaterials () const |
std::size_t * | GetMaterialIndices () const |
G4VSolid * | GetContainerSolid () const |
G4ThreeVector | GetTranslation (const G4int copyNo) const |
G4bool | SkipEqualMaterials () const |
void | SetSkipEqualMaterials (G4bool skip) |
std::size_t | GetMaterialIndex (std::size_t nx, std::size_t ny, std::size_t nz) const |
std::size_t | GetMaterialIndex (std::size_t copyNo) const |
G4Material * | GetMaterial (std::size_t nx, std::size_t ny, std::size_t nz) const |
G4Material * | GetMaterial (std::size_t copyNo) const |
void | CheckVoxelsFillContainer (G4double contX, G4double contY, G4double contZ) const |
Public Member Functions inherited from G4VPVParameterisation | |
G4VPVParameterisation ()=default | |
virtual | ~G4VPVParameterisation ()=default |
virtual G4bool | IsNested () const |
virtual G4VVolumeMaterialScanner * | GetMaterialScanner () |
Protected Attributes | |
G4double | fVoxelHalfX = 0.0 |
G4double | fVoxelHalfY = 0.0 |
G4double | fVoxelHalfZ = 0.0 |
std::size_t | fNoVoxelsX = 0 |
std::size_t | fNoVoxelsY = 0 |
std::size_t | fNoVoxelsZ = 0 |
std::size_t | fNoVoxelsXY = 0 |
std::size_t | fNoVoxels = 0 |
std::vector< G4Material * > | fMaterials |
std::size_t * | fMaterialIndices = nullptr |
G4VSolid * | fContainerSolid = nullptr |
G4double | fContainerWallX =0.0 |
G4double | fContainerWallY =0.0 |
G4double | fContainerWallZ =0.0 |
G4double | kCarTolerance |
G4bool | bSkipEqualMaterials = true |
Definition at line 68 of file G4PhantomParameterisation.hh.
G4PhantomParameterisation::G4PhantomParameterisation | ( | ) |
Definition at line 42 of file G4PhantomParameterisation.cc.
|
overridedefault |
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VPhysicalVolume * | pPhysicalVol | ) |
Definition at line 53 of file G4PhantomParameterisation.cc.
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VSolid * | pMotherSolid | ) |
Definition at line 66 of file G4PhantomParameterisation.cc.
void G4PhantomParameterisation::CheckVoxelsFillContainer | ( | G4double | contX, |
G4double | contY, | ||
G4double | contZ ) const |
Definition at line 176 of file G4PhantomParameterisation.cc.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 84 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 92 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 98 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 104 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 94 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 102 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 106 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 108 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 96 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 100 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 90 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 88 of file G4PhantomParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 86 of file G4PhantomParameterisation.hh.
|
overridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 118 of file G4PhantomParameterisation.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4RegularNavigation::LevelLocate().
|
overridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 110 of file G4PhantomParameterisation.cc.
|
overridevirtual |
Implements G4VPVParameterisation.
Definition at line 79 of file G4PhantomParameterisation.cc.
Referenced by G4RegularNavigation::LevelLocate().
|
inline |
G4Material * G4PhantomParameterisation::GetMaterial | ( | std::size_t | copyNo | ) | const |
Definition at line 157 of file G4PhantomParameterisation.cc.
G4Material * G4PhantomParameterisation::GetMaterial | ( | std::size_t | nx, |
std::size_t | ny, | ||
std::size_t | nz ) const |
Definition at line 150 of file G4PhantomParameterisation.cc.
Referenced by G4EnergySplitter::SplitEnergyInVolumes().
std::size_t G4PhantomParameterisation::GetMaterialIndex | ( | std::size_t | copyNo | ) | const |
Definition at line 129 of file G4PhantomParameterisation.cc.
std::size_t G4PhantomParameterisation::GetMaterialIndex | ( | std::size_t | nx, |
std::size_t | ny, | ||
std::size_t | nz ) const |
Definition at line 140 of file G4PhantomParameterisation.cc.
Referenced by ComputeMaterial(), GetMaterial(), GetMaterial(), and GetMaterialIndex().
|
inline |
|
inline |
|
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 223 of file G4PhantomParameterisation.cc.
Referenced by G4RegularNavigation::LevelLocate().
G4ThreeVector G4PhantomParameterisation::GetTranslation | ( | const G4int | copyNo | ) | const |
Definition at line 91 of file G4PhantomParameterisation.cc.
Referenced by ComputeTransformation().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
|
inline |
void G4PhantomParameterisation::SetNoVoxels | ( | std::size_t | nx, |
std::size_t | ny, | ||
std::size_t | nz ) |
void G4PhantomParameterisation::SetSkipEqualMaterials | ( | G4bool | skip | ) |
void G4PhantomParameterisation::SetVoxelDimensions | ( | G4double | halfx, |
G4double | halfy, | ||
G4double | halfz ) |
G4bool G4PhantomParameterisation::SkipEqualMaterials | ( | ) | const |
|
protected |
Definition at line 192 of file G4PhantomParameterisation.hh.
|
protected |
Definition at line 182 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), CheckVoxelsFillContainer(), and GetReplicaNo().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 186 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), 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(), G4PartialPhantomParameterisation::GetMaterial(), GetMaterial(), and GetMaterial().
|
protected |
Definition at line 174 of file G4PhantomParameterisation.hh.
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 172 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), and GetReplicaNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 170 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 168 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), 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().