ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HadrontherapyDetectorROGeometry Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/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
 
G4BoxRODetector
 
G4BoxRODetectorXDivision
 
G4BoxRODetectorYDivision
 
G4BoxRODetectorZDivision
 
G4LogicalVolumeworldLogical
 
G4LogicalVolumeRODetectorLog
 
G4LogicalVolumeRODetectorXDivisionLog
 
G4LogicalVolumeRODetectorYDivisionLog
 
G4LogicalVolumeRODetectorZDivisionLog
 
G4LogicalVolumesensitiveLogicalVolume
 
G4bool isBuilt
 
G4bool isInitialized
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserParallelWorld
G4VPhysicalVolumeGetWorld ()
 
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 40 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 40 of file HadrontherapyDetectorROGeometry.hh

Constructor & Destructor Documentation

HadrontherapyDetectorROGeometry::HadrontherapyDetectorROGeometry ( G4String  aString)

Definition at line 65 of file HadrontherapyDetectorROGeometry.cc.

View newest version in sPHENIX GitHub at line 65 of file HadrontherapyDetectorROGeometry.cc

References isBuilt, and isInitialized.

HadrontherapyDetectorROGeometry::~HadrontherapyDetectorROGeometry ( )

Definition at line 191 of file HadrontherapyDetectorROGeometry.cc.

View newest version in sPHENIX GitHub at line 191 of file HadrontherapyDetectorROGeometry.cc

Member Function Documentation

void HadrontherapyDetectorROGeometry::Construct ( void  )
virtual
void HadrontherapyDetectorROGeometry::ConstructSD ( )
virtual

Reimplemented from G4VUserParallelWorld.

Definition at line 321 of file HadrontherapyDetectorROGeometry.cc.

View newest version in sPHENIX GitHub at line 321 of file HadrontherapyDetectorROGeometry.cc

References G4SDManager::AddNewDetector(), G4SDManager::GetSDMpointer(), sensitiveLogicalVolume, and G4LogicalVolume::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 77 of file HadrontherapyDetectorROGeometry.cc.

View newest version in sPHENIX GitHub at line 77 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 call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyDetectorROGeometry::UpdateROGeometry ( )

Definition at line 99 of file HadrontherapyDetectorROGeometry.cc.

View newest version in sPHENIX GitHub at line 99 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 62 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 62 of file HadrontherapyDetectorROGeometry.hh

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

G4double HadrontherapyDetectorROGeometry::detectorSizeY
private

Definition at line 63 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 63 of file HadrontherapyDetectorROGeometry.hh

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

G4double HadrontherapyDetectorROGeometry::detectorSizeZ
private

Definition at line 64 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 64 of file HadrontherapyDetectorROGeometry.hh

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

G4ThreeVector HadrontherapyDetectorROGeometry::detectorToWorldPosition
private

Definition at line 61 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 61 of file HadrontherapyDetectorROGeometry.hh

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

G4bool HadrontherapyDetectorROGeometry::isBuilt
private

Definition at line 85 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 85 of file HadrontherapyDetectorROGeometry.hh

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

G4bool HadrontherapyDetectorROGeometry::isInitialized
private

Definition at line 86 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 86 of file HadrontherapyDetectorROGeometry.hh

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

G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongX
private

Definition at line 66 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 66 of file HadrontherapyDetectorROGeometry.hh

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

G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongY
private

Definition at line 67 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 67 of file HadrontherapyDetectorROGeometry.hh

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

G4int HadrontherapyDetectorROGeometry::numberOfVoxelsAlongZ
private

Definition at line 68 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 68 of file HadrontherapyDetectorROGeometry.hh

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

G4Box* HadrontherapyDetectorROGeometry::RODetector
private

Definition at line 71 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 71 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorLog
private

Definition at line 78 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 78 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorXDivision
private

Definition at line 72 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 72 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorXDivisionLog
private

Definition at line 79 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 79 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorYDivision
private

Definition at line 73 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 73 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorYDivisionLog
private

Definition at line 80 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 80 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4Box* HadrontherapyDetectorROGeometry::RODetectorZDivision
private

Definition at line 74 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 74 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::RODetectorZDivisionLog
private

Definition at line 81 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 81 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().

G4LogicalVolume* HadrontherapyDetectorROGeometry::sensitiveLogicalVolume
private

Definition at line 82 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 82 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and ConstructSD().

G4LogicalVolume* HadrontherapyDetectorROGeometry::worldLogical
private

Definition at line 77 of file HadrontherapyDetectorROGeometry.hh.

View newest version in sPHENIX GitHub at line 77 of file HadrontherapyDetectorROGeometry.hh

Referenced by Construct(), and UpdateROGeometry().


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