Geant4  10.01
HadrontherapyDetectorROGeometry Class Reference

#include <HadrontherapyDetectorROGeometry.hh>

+ Inheritance diagram for HadrontherapyDetectorROGeometry:
+ Collaboration diagram for HadrontherapyDetectorROGeometry:

Public Member Functions

 HadrontherapyDetectorROGeometry (G4String)
 
 ~HadrontherapyDetectorROGeometry ()
 
void Initialize (G4ThreeVector detectorPos, G4double detectorDimX, G4double detectorDimY, G4double detectorDimZ, G4int numberOfVoxelsX, G4int numberOfVoxelsY, G4int numberOfVoxelsZ)
 
void UpdateROGeometry ()
 
virtual void Construct ()
 
virtual void ConstructSD ()
 
- Public Member Functions inherited from G4VUserParallelWorld
 G4VUserParallelWorld (G4String worldName)
 
virtual ~G4VUserParallelWorld ()
 
G4String GetName ()
 

Private Attributes

G4ThreeVector detectorToWorldPosition
 
G4double detectorSizeX
 
G4double detectorSizeY
 
G4double detectorSizeZ
 
G4int numberOfVoxelsAlongX
 
G4int numberOfVoxelsAlongY
 
G4int numberOfVoxelsAlongZ
 
G4Box * RODetector
 
G4Box * RODetectorXDivision
 
G4Box * RODetectorYDivision
 
G4Box * RODetectorZDivision
 
G4LogicalVolume * worldLogical
 
G4LogicalVolume * RODetectorLog
 
G4LogicalVolume * RODetectorXDivisionLog
 
G4LogicalVolume * RODetectorYDivisionLog
 
G4LogicalVolume * RODetectorZDivisionLog
 
G4LogicalVolume * sensitiveLogicalVolume
 
G4bool isBuilt
 
G4bool isInitialized
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserParallelWorld
G4VPhysicalVolume * GetWorld ()
 
void SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
 
void SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD)
 
- Protected Attributes inherited from G4VUserParallelWorld
G4String fWorldName
 

Detailed Description

Definition at line 46 of file HadrontherapyDetectorROGeometry.hh.

Constructor & Destructor Documentation

HadrontherapyDetectorROGeometry::HadrontherapyDetectorROGeometry ( G4String  aString)

Definition at line 67 of file HadrontherapyDetectorROGeometry.cc.

References isBuilt, and isInitialized.

HadrontherapyDetectorROGeometry::~HadrontherapyDetectorROGeometry ( )

Definition at line 193 of file HadrontherapyDetectorROGeometry.cc.

Member Function Documentation

void HadrontherapyDetectorROGeometry::ConstructSD ( )
virtual

Reimplemented from G4VUserParallelWorld.

Definition at line 323 of file HadrontherapyDetectorROGeometry.cc.

References sensitiveLogicalVolume, and G4VUserParallelWorld::SetSensitiveDetector().

+ Here is the call graph for this function:

void HadrontherapyDetectorROGeometry::Initialize ( G4ThreeVector  detectorPos,
G4double  detectorDimX,
G4double  detectorDimY,
G4double  detectorDimZ,
G4int  numberOfVoxelsX,
G4int  numberOfVoxelsY,
G4int  numberOfVoxelsZ 
)

Definition at line 79 of file HadrontherapyDetectorROGeometry.cc.

References detectorSizeX, detectorSizeY, detectorSizeZ, detectorToWorldPosition, isInitialized, numberOfVoxelsAlongX, numberOfVoxelsAlongY, numberOfVoxelsAlongZ, and pos.

Referenced by HadrontherapyDetectorConstruction::InitializeDetectorROGeometry(), and HadrontherapyDetectorConstruction::UpdateGeometry().

+ Here is the caller graph for this function:

void HadrontherapyDetectorROGeometry::UpdateROGeometry ( )

Definition at line 101 of file HadrontherapyDetectorROGeometry.cc.

References G4PhysicalVolumeStore::DeRegister(), detectorSizeX, detectorSizeY, detectorSizeZ, detectorToWorldPosition, G4PhysicalVolumeStore::GetInstance(), G4PhysicalVolumeStore::GetVolume(), isBuilt, kXAxis, kYAxis, kZAxis, numberOfVoxelsAlongX, numberOfVoxelsAlongY, numberOfVoxelsAlongZ, RODetector, RODetectorLog, RODetectorXDivision, RODetectorXDivisionLog, RODetectorYDivision, RODetectorYDivisionLog, RODetectorZDivision, RODetectorZDivisionLog, G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), G4Box::SetZHalfLength(), and worldLogical.

Referenced by HadrontherapyDetectorConstruction::UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double HadrontherapyDetectorROGeometry::detectorSizeX
private

Definition at line 68 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4double HadrontherapyDetectorROGeometry::detectorSizeY
private

Definition at line 69 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4double HadrontherapyDetectorROGeometry::detectorSizeZ
private

Definition at line 70 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4ThreeVector HadrontherapyDetectorROGeometry::detectorToWorldPosition
private

Definition at line 67 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4bool HadrontherapyDetectorROGeometry::isBuilt
private
G4bool HadrontherapyDetectorROGeometry::isInitialized
private
G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongX
private

Definition at line 72 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongY
private

Definition at line 73 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongZ
private

Definition at line 74 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), Initialize(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetector
private

Definition at line 77 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorLog
private

Definition at line 84 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorXDivision
private

Definition at line 78 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorXDivisionLog
private

Definition at line 85 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorYDivision
private

Definition at line 79 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorYDivisionLog
private

Definition at line 86 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorZDivision
private

Definition at line 80 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorZDivisionLog
private

Definition at line 87 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::sensitiveLogicalVolume
private

Definition at line 88 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and ConstructSD().

G4LogicalVolume* HadrontherapyDetectorROGeometry::worldLogical
private

Definition at line 83 of file HadrontherapyDetectorROGeometry.hh.

Referenced by Construct(), and UpdateROGeometry().


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