Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4PartialPhantomParameterisation.hh>
Public Member Functions | |
G4PartialPhantomParameterisation () | |
~G4PartialPhantomParameterisation () override | |
void | ComputeTransformation (const G4int, G4VPhysicalVolume *) const override |
G4Material * | ComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=nullptr) override |
G4int | GetReplicaNo (const G4ThreeVector &localPoint, const G4ThreeVector &localDir) override |
G4ThreeVector | GetTranslation (const G4int copyNo) const |
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 | SetFilledIDs (std::multimap< G4int, G4int > fid) |
void | SetFilledMins (std::map< G4int, std::map< G4int, G4int > > fmins) |
void | BuildContainerWalls () |
Public Member Functions inherited from G4PhantomParameterisation | |
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) |
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 () |
Additional Inherited Members | |
Protected Attributes inherited from G4PhantomParameterisation | |
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 53 of file G4PartialPhantomParameterisation.hh.
G4PartialPhantomParameterisation::G4PartialPhantomParameterisation | ( | ) |
Definition at line 44 of file G4PartialPhantomParameterisation.cc.
|
overridedefault |
void G4PartialPhantomParameterisation::BuildContainerWalls | ( | ) |
Definition at line 331 of file G4PartialPhantomParameterisation.cc.
|
overridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 80 of file G4PartialPhantomParameterisation.cc.
|
overridevirtual |
Implements G4VPVParameterisation.
Definition at line 53 of file G4PartialPhantomParameterisation.cc.
G4Material * G4PartialPhantomParameterisation::GetMaterial | ( | std::size_t | copyNo | ) | const |
Definition at line 120 of file G4PartialPhantomParameterisation.cc.
G4Material * G4PartialPhantomParameterisation::GetMaterial | ( | std::size_t | nx, |
std::size_t | ny, | ||
std::size_t | nz ) const |
Definition at line 112 of file G4PartialPhantomParameterisation.cc.
size_t G4PartialPhantomParameterisation::GetMaterialIndex | ( | std::size_t | copyNo | ) | const |
Definition at line 91 of file G4PartialPhantomParameterisation.cc.
size_t G4PartialPhantomParameterisation::GetMaterialIndex | ( | std::size_t | nx, |
std::size_t | ny, | ||
std::size_t | nz ) const |
Definition at line 103 of file G4PartialPhantomParameterisation.cc.
Referenced by ComputeMaterial(), GetMaterial(), GetMaterial(), and GetMaterialIndex().
|
overridevirtual |
Reimplemented from G4PhantomParameterisation.
Definition at line 156 of file G4PartialPhantomParameterisation.cc.
G4ThreeVector G4PartialPhantomParameterisation::GetTranslation | ( | const G4int | copyNo | ) | const |
Definition at line 64 of file G4PartialPhantomParameterisation.cc.
Referenced by ComputeTransformation().
Definition at line 79 of file G4PartialPhantomParameterisation.hh.
|
inline |
Definition at line 84 of file G4PartialPhantomParameterisation.hh.