Geant4  10.00.p01
IORTDetectorConstruction Class Reference

#include <IORTDetectorConstruction.hh>

+ Collaboration diagram for IORTDetectorConstruction:

Public Member Functions

 IORTDetectorConstruction (G4VPhysicalVolume *)
 
 ~IORTDetectorConstruction ()
 
G4ThreeVector GetDetectorToWorldPosition ()
 
G4ThreeVector GetDetectorToPhantomPosition ()
 
void SetDetectorPosition ()
 
bool IsInside (G4double detectorX, G4double detectorY, G4double detectorZ, G4double phantomX, G4double phantomY, G4double phantomZ, G4ThreeVector detToPhantomPosition)
 
G4bool SetPhantomMaterial (G4String material)
 
void SetVoxelSize (G4double sizeX, G4double sizeY, G4double sizeZ)
 
void SetDetectorSize (G4double sizeX, G4double sizeY, G4double sizeZ)
 
void SetPhantomSize (G4double sizeX, G4double sizeY, G4double sizeZ)
 
void SetPhantomPosition (G4ThreeVector)
 
void SetDetectorToPhantomPosition (G4ThreeVector DetectorToPhantomPosition)
 
void UpdateGeometry ()
 
void DeleteDisc ()
 
void ConstructDisc ()
 
void PrintParameters ()
 
G4LogicalVolumeGetDetectorLogicalVolume ()
 
G4bool SetDiscoMaterialIORT (G4String material)
 
void SetOuterRadiusDiscoIORT (G4double outerr)
 
void SetinnerRadiusDiscoIORT (G4double innerr)
 
void SetheightDiscoIORT (G4double height)
 
void SetDiscoXPositionIORT (G4double xpos)
 
void SetDiscoYPositionIORT (G4double ypos)
 
void SetDiscoZPositionIORT (G4double zpos)
 
G4bool SetDiscoMaterialIORT1 (G4String material)
 
void SetOuterRadiusDiscoIORT1 (G4double outerr)
 
void SetinnerRadiusDiscoIORT1 (G4double innerr)
 
void SetheightDiscoIORT1 (G4double height)
 
void SetDiscoXPositionIORT1 (G4double xpos)
 
void SetAngleDiscoIORT0 (G4double phi0)
 

Private Member Functions

void ConstructPhantom ()
 
void ConstructDetector ()
 
void ConstructSensitiveDetector (G4ThreeVector positionToWORLD)
 
void ParametersCheck ()
 

Private Attributes

IORTDetectorMessengerdetectorMessenger
 
G4VisAttributesred
 
G4VPhysicalVolumemotherPhys
 
IORTDetectorSDdetectorSD
 
IORTDetectorROGeometrydetectorROGeometry
 
IORTMatrixmatrix
 
G4Boxphantom
 
G4Boxdetector
 
G4LogicalVolumephantomLogicalVolume
 
G4LogicalVolumedetectorLogicalVolume
 
G4VPhysicalVolumephantomPhysicalVolume
 
G4VPhysicalVolumedetectorPhysicalVolume
 
G4double phantomSizeX
 
G4double phantomSizeY
 
G4double phantomSizeZ
 
G4double detectorSizeX
 
G4double detectorSizeY
 
G4double detectorSizeZ
 
G4ThreeVector phantomPosition
 
G4ThreeVector detectorPosition
 
G4ThreeVector detectorToPhantomPosition
 
G4double sizeOfVoxelAlongX
 
G4double sizeOfVoxelAlongY
 
G4double sizeOfVoxelAlongZ
 
G4int numberOfVoxelsAlongX
 
G4int numberOfVoxelsAlongY
 
G4int numberOfVoxelsAlongZ
 
G4double volumeOfVoxel
 
G4double massOfVoxel
 
G4MaterialphantomMaterial
 
G4MaterialdetectorMaterial
 
G4RegionaRegion
 
G4TubssolidDiscoIORT0
 
G4LogicalVolumelogicDiscoIORT0
 
G4VPhysicalVolumephysiDiscoIORT0
 
G4double AngleDiscoIORT0
 
G4VisAttributeswhite
 
G4VisAttributesgray
 
G4VisAttributesgray1
 
G4double innerRadiusDiscoIORT
 
G4double OuterRadiusDiscoIORT
 
G4double heightDiscoIORT
 
G4double DiscoXPositionIORT
 
G4double DiscoYPositionIORT
 
G4double DiscoZPositionIORT
 
G4TubssolidDiscoIORT
 
G4LogicalVolumelogicDiscoIORT
 
G4VPhysicalVolumephysiDiscoIORT
 
G4MaterialDiscoMaterialIORT
 
G4double innerRadiusDiscoIORT1
 
G4double OuterRadiusDiscoIORT1
 
G4double heightDiscoIORT1
 
G4double DiscoXPositionIORT1
 
G4TubssolidDiscoIORT1
 
G4LogicalVolumelogicDiscoIORT1
 
G4VPhysicalVolumephysiDiscoIORT1
 
G4MaterialDiscoMaterialIORT1
 

Detailed Description

Definition at line 58 of file IORTDetectorConstruction.hh.

Constructor & Destructor Documentation

IORTDetectorConstruction::~IORTDetectorConstruction ( )

Definition at line 139 of file IORTDetectorConstruction.cc.

References detectorMessenger, detectorROGeometry, and matrix.

Member Function Documentation

void IORTDetectorConstruction::ConstructDetector ( )
private

Definition at line 204 of file IORTDetectorConstruction.cc.

References aRegion, detector, detectorLogicalVolume, detectorMaterial, detectorPhysicalVolume, detectorPosition, detectorSizeX, detectorSizeY, detectorSizeZ, and phantomPhysicalVolume.

Referenced by UpdateGeometry().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::ConstructDisc ( )
void IORTDetectorConstruction::ConstructPhantom ( )
private

Definition at line 151 of file IORTDetectorConstruction.cc.

References motherPhys, phantom, phantomLogicalVolume, phantomMaterial, phantomPhysicalVolume, phantomPosition, phantomSizeX, phantomSizeY, phantomSizeZ, and red.

Referenced by UpdateGeometry().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::ConstructSensitiveDetector ( G4ThreeVector  positionToWORLD)
private

Definition at line 367 of file IORTDetectorConstruction.cc.

References detectorLogicalVolume, detectorROGeometry, detectorSD, detectorSizeX, detectorSizeY, detectorSizeZ, G4cout, G4endl, G4SDManager::GetSDMpointer(), numberOfVoxelsAlongX, numberOfVoxelsAlongY, and numberOfVoxelsAlongZ.

Referenced by UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTDetectorConstruction::DeleteDisc ( )

Definition at line 705 of file IORTDetectorConstruction.cc.

References G4RunManager::GetRunManager(), logicDiscoIORT, logicDiscoIORT0, logicDiscoIORT1, physiDiscoIORT, physiDiscoIORT0, physiDiscoIORT1, solidDiscoIORT, solidDiscoIORT0, and solidDiscoIORT1.

+ Here is the call graph for this function:

G4LogicalVolume* IORTDetectorConstruction::GetDetectorLogicalVolume ( )
inline

Definition at line 169 of file IORTDetectorConstruction.hh.

References detectorLogicalVolume.

G4ThreeVector IORTDetectorConstruction::GetDetectorToPhantomPosition ( )
inline
G4ThreeVector IORTDetectorConstruction::GetDetectorToWorldPosition ( )
inline

Definition at line 78 of file IORTDetectorConstruction.hh.

References detectorPosition, and phantomPosition.

Referenced by UpdateGeometry().

+ Here is the caller graph for this function:

bool IORTDetectorConstruction::IsInside ( G4double  detectorX,
G4double  detectorY,
G4double  detectorZ,
G4double  phantomX,
G4double  phantomY,
G4double  phantomZ,
G4ThreeVector  detToPhantomPosition 
)
inline

Definition at line 106 of file IORTDetectorConstruction.hh.

References G4cout, and G4endl.

Referenced by ParametersCheck().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::ParametersCheck ( )
private

Definition at line 408 of file IORTDetectorConstruction.cc.

References detectorSizeX, detectorSizeY, detectorSizeZ, detectorToPhantomPosition, FatalException, G4Exception(), IsInside(), phantomSizeX, phantomSizeY, phantomSizeZ, sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.

Referenced by UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTDetectorConstruction::PrintParameters ( )

Definition at line 721 of file IORTDetectorConstruction.cc.

References detector, G4BestUnit, G4cout, G4endl, numberOfVoxelsAlongX, numberOfVoxelsAlongY, numberOfVoxelsAlongZ, phantom, phantomPosition, sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.

Referenced by UpdateGeometry().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetAngleDiscoIORT0 ( G4double  phi0)

Definition at line 618 of file IORTDetectorConstruction.cc.

References AngleDiscoIORT0.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDetectorPosition ( )
inline

Definition at line 94 of file IORTDetectorConstruction.hh.

References detectorPosition, detectorSizeX, detectorSizeY, detectorSizeZ, detectorToPhantomPosition, phantomSizeX, phantomSizeY, and phantomSizeZ.

Referenced by UpdateGeometry().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDetectorSize ( G4double  sizeX,
G4double  sizeY,
G4double  sizeZ 
)

Definition at line 528 of file IORTDetectorConstruction.cc.

References detectorSizeX, detectorSizeY, detectorSizeZ, SetVoxelSize(), sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.

Referenced by IORTDetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDetectorToPhantomPosition ( G4ThreeVector  DetectorToPhantomPosition)

Definition at line 549 of file IORTDetectorConstruction.cc.

References detectorToPhantomPosition.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

G4bool IORTDetectorConstruction::SetDiscoMaterialIORT ( G4String  material)

Definition at line 466 of file IORTDetectorConstruction.cc.

References DiscoMaterialIORT, G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), and logicDiscoIORT.

Referenced by IORTDetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool IORTDetectorConstruction::SetDiscoMaterialIORT1 ( G4String  material)

Definition at line 493 of file IORTDetectorConstruction.cc.

References DiscoMaterialIORT1, G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), and logicDiscoIORT1.

Referenced by IORTDetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDiscoXPositionIORT ( G4double  xpos)

Definition at line 573 of file IORTDetectorConstruction.cc.

References DiscoXPositionIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDiscoXPositionIORT1 ( G4double  xpos)

Definition at line 612 of file IORTDetectorConstruction.cc.

References DiscoXPositionIORT1.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDiscoYPositionIORT ( G4double  ypos)

Definition at line 580 of file IORTDetectorConstruction.cc.

References DiscoYPositionIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetDiscoZPositionIORT ( G4double  zpos)

Definition at line 587 of file IORTDetectorConstruction.cc.

References DiscoZPositionIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetheightDiscoIORT ( G4double  height)

Definition at line 567 of file IORTDetectorConstruction.cc.

References heightDiscoIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetheightDiscoIORT1 ( G4double  height)

Definition at line 606 of file IORTDetectorConstruction.cc.

References heightDiscoIORT1.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetinnerRadiusDiscoIORT ( G4double  innerr)

Definition at line 561 of file IORTDetectorConstruction.cc.

References innerRadiusDiscoIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetinnerRadiusDiscoIORT1 ( G4double  innerr)

Definition at line 600 of file IORTDetectorConstruction.cc.

References innerRadiusDiscoIORT1.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetOuterRadiusDiscoIORT ( G4double  outerr)

Definition at line 555 of file IORTDetectorConstruction.cc.

References OuterRadiusDiscoIORT.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetOuterRadiusDiscoIORT1 ( G4double  outerr)

Definition at line 594 of file IORTDetectorConstruction.cc.

References OuterRadiusDiscoIORT1.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

G4bool IORTDetectorConstruction::SetPhantomMaterial ( G4String  material)

Definition at line 438 of file IORTDetectorConstruction.cc.

References detectorLogicalVolume, detectorMaterial, G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), phantomLogicalVolume, and phantomMaterial.

Referenced by IORTDetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetPhantomPosition ( G4ThreeVector  pos)

Definition at line 543 of file IORTDetectorConstruction.cc.

References phantomPosition, and pos.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetPhantomSize ( G4double  sizeX,
G4double  sizeY,
G4double  sizeZ 
)

Definition at line 520 of file IORTDetectorConstruction.cc.

References phantomSizeX, phantomSizeY, and phantomSizeZ.

Referenced by IORTDetectorConstruction().

+ Here is the caller graph for this function:

void IORTDetectorConstruction::SetVoxelSize ( G4double  sizeX,
G4double  sizeY,
G4double  sizeZ 
)

Definition at line 537 of file IORTDetectorConstruction.cc.

References sizeOfVoxelAlongX, sizeOfVoxelAlongY, and sizeOfVoxelAlongZ.

Referenced by SetDetectorSize().

+ Here is the caller graph for this function:

Member Data Documentation

G4double IORTDetectorConstruction::AngleDiscoIORT0
private

Definition at line 232 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetAngleDiscoIORT0().

G4Region* IORTDetectorConstruction::aRegion
private

Definition at line 224 of file IORTDetectorConstruction.hh.

Referenced by ConstructDetector().

G4Box * IORTDetectorConstruction::detector
private

Definition at line 199 of file IORTDetectorConstruction.hh.

Referenced by ConstructDetector(), PrintParameters(), and UpdateGeometry().

G4LogicalVolume * IORTDetectorConstruction::detectorLogicalVolume
private
G4Material * IORTDetectorConstruction::detectorMaterial
private
IORTDetectorMessenger* IORTDetectorConstruction::detectorMessenger
private
G4VPhysicalVolume * IORTDetectorConstruction::detectorPhysicalVolume
private

Definition at line 201 of file IORTDetectorConstruction.hh.

Referenced by ConstructDetector(), ConstructDisc(), and UpdateGeometry().

G4ThreeVector IORTDetectorConstruction::detectorPosition
private
IORTDetectorROGeometry* IORTDetectorConstruction::detectorROGeometry
private
IORTDetectorSD* IORTDetectorConstruction::detectorSD
private

Definition at line 195 of file IORTDetectorConstruction.hh.

Referenced by ConstructSensitiveDetector().

G4ThreeVector IORTDetectorConstruction::detectorToPhantomPosition
private
G4Material* IORTDetectorConstruction::DiscoMaterialIORT
private

Definition at line 247 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetDiscoMaterialIORT().

G4Material* IORTDetectorConstruction::DiscoMaterialIORT1
private

Definition at line 259 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetDiscoMaterialIORT1().

G4double IORTDetectorConstruction::DiscoXPositionIORT
private

Definition at line 241 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetDiscoXPositionIORT().

G4double IORTDetectorConstruction::DiscoXPositionIORT1
private

Definition at line 255 of file IORTDetectorConstruction.hh.

Referenced by SetDiscoXPositionIORT1().

G4double IORTDetectorConstruction::DiscoYPositionIORT
private

Definition at line 242 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetDiscoYPositionIORT().

G4double IORTDetectorConstruction::DiscoZPositionIORT
private

Definition at line 243 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetDiscoZPositionIORT().

G4VisAttributes* IORTDetectorConstruction::gray
private

Definition at line 236 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc().

G4VisAttributes* IORTDetectorConstruction::gray1
private

Definition at line 237 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc().

G4double IORTDetectorConstruction::heightDiscoIORT
private

Definition at line 240 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetheightDiscoIORT().

G4double IORTDetectorConstruction::heightDiscoIORT1
private

Definition at line 254 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetheightDiscoIORT1().

G4double IORTDetectorConstruction::innerRadiusDiscoIORT
private

Definition at line 238 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetinnerRadiusDiscoIORT().

G4double IORTDetectorConstruction::innerRadiusDiscoIORT1
private

Definition at line 252 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetinnerRadiusDiscoIORT1().

G4LogicalVolume* IORTDetectorConstruction::logicDiscoIORT
private

Definition at line 245 of file IORTDetectorConstruction.hh.

Referenced by DeleteDisc(), SetDiscoMaterialIORT(), and UpdateGeometry().

G4LogicalVolume* IORTDetectorConstruction::logicDiscoIORT0
private

Definition at line 230 of file IORTDetectorConstruction.hh.

Referenced by DeleteDisc(), and UpdateGeometry().

G4LogicalVolume* IORTDetectorConstruction::logicDiscoIORT1
private

Definition at line 257 of file IORTDetectorConstruction.hh.

Referenced by DeleteDisc(), SetDiscoMaterialIORT1(), and UpdateGeometry().

G4double IORTDetectorConstruction::massOfVoxel
private

Definition at line 221 of file IORTDetectorConstruction.hh.

Referenced by UpdateGeometry().

IORTMatrix* IORTDetectorConstruction::matrix
private

Definition at line 197 of file IORTDetectorConstruction.hh.

Referenced by UpdateGeometry(), and ~IORTDetectorConstruction().

G4VPhysicalVolume* IORTDetectorConstruction::motherPhys
private

Definition at line 193 of file IORTDetectorConstruction.hh.

Referenced by ConstructPhantom().

G4int IORTDetectorConstruction::numberOfVoxelsAlongX
private
G4int IORTDetectorConstruction::numberOfVoxelsAlongY
private
G4int IORTDetectorConstruction::numberOfVoxelsAlongZ
private
G4double IORTDetectorConstruction::OuterRadiusDiscoIORT
private

Definition at line 239 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetOuterRadiusDiscoIORT().

G4double IORTDetectorConstruction::OuterRadiusDiscoIORT1
private

Definition at line 253 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), and SetOuterRadiusDiscoIORT1().

G4Box* IORTDetectorConstruction::phantom
private

Definition at line 199 of file IORTDetectorConstruction.hh.

Referenced by ConstructPhantom(), PrintParameters(), and UpdateGeometry().

G4LogicalVolume* IORTDetectorConstruction::phantomLogicalVolume
private

Definition at line 200 of file IORTDetectorConstruction.hh.

Referenced by ConstructPhantom(), and SetPhantomMaterial().

G4Material* IORTDetectorConstruction::phantomMaterial
private

Definition at line 223 of file IORTDetectorConstruction.hh.

Referenced by ConstructPhantom(), and SetPhantomMaterial().

G4VPhysicalVolume* IORTDetectorConstruction::phantomPhysicalVolume
private
G4ThreeVector IORTDetectorConstruction::phantomPosition
private
G4double IORTDetectorConstruction::phantomSizeX
private
G4double IORTDetectorConstruction::phantomSizeY
private
G4double IORTDetectorConstruction::phantomSizeZ
private
G4VPhysicalVolume* IORTDetectorConstruction::physiDiscoIORT
private

Definition at line 246 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4VPhysicalVolume* IORTDetectorConstruction::physiDiscoIORT0
private

Definition at line 231 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4VPhysicalVolume* IORTDetectorConstruction::physiDiscoIORT1
private

Definition at line 258 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4VisAttributes* IORTDetectorConstruction::red
private

Definition at line 191 of file IORTDetectorConstruction.hh.

Referenced by ConstructPhantom().

G4double IORTDetectorConstruction::sizeOfVoxelAlongX
private
G4double IORTDetectorConstruction::sizeOfVoxelAlongY
private
G4double IORTDetectorConstruction::sizeOfVoxelAlongZ
private
G4Tubs* IORTDetectorConstruction::solidDiscoIORT
private

Definition at line 244 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4Tubs* IORTDetectorConstruction::solidDiscoIORT0
private

Definition at line 229 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4Tubs* IORTDetectorConstruction::solidDiscoIORT1
private

Definition at line 256 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc(), DeleteDisc(), and UpdateGeometry().

G4double IORTDetectorConstruction::volumeOfVoxel
private

Definition at line 221 of file IORTDetectorConstruction.hh.

Referenced by UpdateGeometry().

G4VisAttributes* IORTDetectorConstruction::white
private

Definition at line 235 of file IORTDetectorConstruction.hh.

Referenced by ConstructDisc().


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