Geant4  10.02.p02
G4PartialPhantomParameterisation Class Reference

#include <G4PartialPhantomParameterisation.hh>

+ Inheritance diagram for G4PartialPhantomParameterisation:
+ Collaboration diagram for G4PartialPhantomParameterisation:

Public Member Functions

 G4PartialPhantomParameterisation ()
 
 ~G4PartialPhantomParameterisation ()
 
void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
 
G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
G4int GetReplicaNo (const G4ThreeVector &localPoint, const G4ThreeVector &localDir)
 
G4ThreeVector GetTranslation (const G4int copyNo) const
 
size_t GetMaterialIndex (size_t nx, size_t ny, size_t nz) const
 
size_t GetMaterialIndex (size_t copyNo) const
 
G4MaterialGetMaterial (size_t nx, size_t ny, size_t nz) const
 
G4MaterialGetMaterial (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 ()
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 
void BuildContainerSolid (G4VPhysicalVolume *pPhysicalVol)
 
void BuildContainerSolid (G4VSolid *pMotherSolid)
 
void SetMaterials (std::vector< G4Material * > &mates)
 
void SetMaterialIndices (size_t *matInd)
 
void SetVoxelDimensions (G4double halfx, G4double halfy, G4double halfz)
 
void SetNoVoxel (size_t nx, size_t ny, size_t nz)
 
G4double GetVoxelHalfX () const
 
G4double GetVoxelHalfY () const
 
G4double GetVoxelHalfZ () const
 
size_t GetNoVoxelX () const
 
size_t GetNoVoxelY () const
 
size_t GetNoVoxelZ () const
 
size_t GetNoVoxel () const
 
std::vector< G4Material * > GetMaterials () const
 
size_t * GetMaterialIndices () const
 
G4VSolidGetContainerSolid () const
 
G4ThreeVector GetTranslation (const G4int copyNo) const
 
G4bool SkipEqualMaterials () const
 
void SetSkipEqualMaterials (G4bool skip)
 
size_t GetMaterialIndex (size_t nx, size_t ny, size_t nz) const
 
size_t GetMaterialIndex (size_t copyNo) const
 
G4MaterialGetMaterial (size_t nx, size_t ny, size_t nz) const
 
G4MaterialGetMaterial (size_t copyNo) const
 
void CheckVoxelsFillContainer (G4double contX, G4double contY, G4double contZ) const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 

Private Member Functions

void ComputeVoxelIndices (const G4int copyNo, size_t &nx, size_t &ny, size_t &nz) const
 
void CheckCopyNo (const G4int copyNo) const
 

Private Attributes

std::multimap< G4int, G4intfFilledIDs
 
std::map< G4int, std::map
< G4int, G4int > > 
fFilledMins
 

Additional Inherited Members

- Protected Attributes inherited from G4PhantomParameterisation
G4double fVoxelHalfX
 
G4double fVoxelHalfY
 
G4double fVoxelHalfZ
 
size_t fNoVoxelX
 
size_t fNoVoxelY
 
size_t fNoVoxelZ
 
size_t fNoVoxelXY
 
size_t fNoVoxel
 
std::vector< G4Material * > fMaterials
 
size_t * fMaterialIndices
 
G4VSolidfContainerSolid
 
G4double fContainerWallX
 
G4double fContainerWallY
 
G4double fContainerWallZ
 
G4double kCarTolerance
 
G4bool bSkipEqualMaterials
 

Detailed Description

Definition at line 57 of file G4PartialPhantomParameterisation.hh.

Constructor & Destructor Documentation

G4PartialPhantomParameterisation::G4PartialPhantomParameterisation ( )

Definition at line 49 of file G4PartialPhantomParameterisation.cc.

G4PartialPhantomParameterisation::~G4PartialPhantomParameterisation ( )

Definition at line 56 of file G4PartialPhantomParameterisation.cc.

Member Function Documentation

void G4PartialPhantomParameterisation::CheckCopyNo ( const G4int  copyNo) const
private

Definition at line 325 of file G4PartialPhantomParameterisation.cc.

References FatalErrorInArgument, G4PhantomParameterisation::fNoVoxel, G4endl, and G4Exception().

Referenced by ComputeMaterial(), ComputeVoxelIndices(), GetMaterialIndex(), and GetTranslation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Material * G4PartialPhantomParameterisation::ComputeMaterial ( const G4int  repNo,
G4VPhysicalVolume currentVol,
const G4VTouchable parentTouch = 0 
)
virtual

Reimplemented from G4PhantomParameterisation.

Definition at line 91 of file G4PartialPhantomParameterisation.cc.

References CheckCopyNo(), G4PhantomParameterisation::fMaterials, and GetMaterialIndex().

+ Here is the call graph for this function:

void G4PartialPhantomParameterisation::ComputeTransformation ( const G4int  copyNo,
G4VPhysicalVolume physVol 
) const
virtual

Reimplemented from G4PhantomParameterisation.

Definition at line 62 of file G4PartialPhantomParameterisation.cc.

References GetTranslation(), and G4VPhysicalVolume::SetTranslation().

+ Here is the call graph for this function:

void G4PartialPhantomParameterisation::ComputeVoxelIndices ( const G4int  copyNo,
size_t &  nx,
size_t &  ny,
size_t &  nz 
) const
private

Definition at line 139 of file G4PartialPhantomParameterisation.cc.

References CheckCopyNo(), fFilledIDs, and G4PhantomParameterisation::fNoVoxelY.

Referenced by GetTranslation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Material * G4PartialPhantomParameterisation::GetMaterial ( size_t  nx,
size_t  ny,
size_t  nz 
) const

Definition at line 123 of file G4PartialPhantomParameterisation.cc.

References G4PhantomParameterisation::fMaterials, and GetMaterialIndex().

+ Here is the call graph for this function:

G4Material * G4PartialPhantomParameterisation::GetMaterial ( size_t  copyNo) const

Definition at line 131 of file G4PartialPhantomParameterisation.cc.

References G4PhantomParameterisation::fMaterials, and GetMaterialIndex().

+ Here is the call graph for this function:

size_t G4PartialPhantomParameterisation::GetMaterialIndex ( size_t  nx,
size_t  ny,
size_t  nz 
) const

Definition at line 114 of file G4PartialPhantomParameterisation.cc.

References G4PhantomParameterisation::fNoVoxelX, and G4PhantomParameterisation::fNoVoxelXY.

Referenced by ComputeMaterial(), and GetMaterial().

+ Here is the caller graph for this function:

size_t G4PartialPhantomParameterisation::GetMaterialIndex ( size_t  copyNo) const

Definition at line 102 of file G4PartialPhantomParameterisation.cc.

References CheckCopyNo(), and G4PhantomParameterisation::fMaterialIndices.

+ Here is the call graph for this function:

G4ThreeVector G4PartialPhantomParameterisation::GetTranslation ( const G4int  copyNo) const

Definition at line 73 of file G4PartialPhantomParameterisation.cc.

References CheckCopyNo(), ComputeVoxelIndices(), G4PhantomParameterisation::fContainerWallX, G4PhantomParameterisation::fContainerWallY, G4PhantomParameterisation::fContainerWallZ, G4PhantomParameterisation::fVoxelHalfX, G4PhantomParameterisation::fVoxelHalfY, and G4PhantomParameterisation::fVoxelHalfZ.

Referenced by ComputeTransformation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PartialPhantomParameterisation::SetFilledIDs ( std::multimap< G4int, G4int fid)
inline

Definition at line 83 of file G4PartialPhantomParameterisation.hh.

References fFilledIDs.

Referenced by DicomPartialDetectorConstruction::ConstructPhantom().

+ Here is the caller graph for this function:

void G4PartialPhantomParameterisation::SetFilledMins ( std::map< G4int, std::map< G4int, G4int > >  fmins)
inline

Definition at line 87 of file G4PartialPhantomParameterisation.hh.

References fFilledMins.

Referenced by DicomPartialDetectorConstruction::ConstructPhantom().

+ Here is the caller graph for this function:

Member Data Documentation

std::multimap<G4int,G4int> G4PartialPhantomParameterisation::fFilledIDs
private
std::map< G4int, std::map<G4int,G4int> > G4PartialPhantomParameterisation::fFilledMins
private

Definition at line 105 of file G4PartialPhantomParameterisation.hh.

Referenced by SetFilledMins().


The documentation for this class was generated from the following files: