Geant4  10.01
BrachyDetectorConstruction Class Reference

#include <BrachyDetectorConstruction.hh>

+ Inheritance diagram for BrachyDetectorConstruction:
+ Collaboration diagram for BrachyDetectorConstruction:

Public Member Functions

 BrachyDetectorConstruction ()
 
 ~BrachyDetectorConstruction ()
 
G4VPhysicalVolume * Construct ()
 
void SwitchBrachytherapicSeed ()
 
void SelectBrachytherapicSeed (G4String val)
 
void ConstructPhantom ()
 
void PrintDetectorParameters ()
 
void SetPhantomMaterial (G4String)
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void ConstructSDandField ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorld * GetParallelWorld (G4int i) const
 

Private Attributes

G4int detectorChoice
 
BrachyFactory * factory
 
G4Box * World
 
G4LogicalVolume * WorldLog
 
G4VPhysicalVolume * WorldPhys
 
G4Box * Phantom
 
G4LogicalVolume * PhantomLog
 
G4VPhysicalVolume * PhantomPhys
 
G4Material * phantomAbsorberMaterial
 
G4double phantomSizeX
 
G4double phantomSizeY
 
G4double phantomSizeZ
 
G4double worldSizeX
 
G4double worldSizeY
 
G4double worldSizeZ
 
BrachyDetectorMessenger * detectorMessenger
 
BrachyMaterial * pMaterial
 

Additional Inherited Members

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

Detailed Description

Definition at line 49 of file BrachyDetectorConstruction.hh.

Constructor & Destructor Documentation

BrachyDetectorConstruction::BrachyDetectorConstruction ( )
BrachyDetectorConstruction::~BrachyDetectorConstruction ( )

Definition at line 90 of file BrachyDetectorConstruction.cc.

References detectorMessenger, factory, and pMaterial.

Member Function Documentation

G4VPhysicalVolume * BrachyDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 97 of file BrachyDetectorConstruction.cc.

References ConstructPhantom(), factory, PhantomPhys, pMaterial, and WorldPhys.

+ Here is the call graph for this function:

void BrachyDetectorConstruction::ConstructPhantom ( )

Definition at line 154 of file BrachyDetectorConstruction.cc.

References G4VisAttributes::Invisible, Phantom, PhantomLog, PhantomPhys, phantomSizeX, phantomSizeY, phantomSizeZ, pMaterial, World, WorldLog, WorldPhys, worldSizeX, worldSizeY, and worldSizeZ.

Referenced by Construct().

+ Here is the caller graph for this function:

void BrachyDetectorConstruction::PrintDetectorParameters ( )

Definition at line 190 of file BrachyDetectorConstruction.cc.

References cm, G4cout, G4endl, phantomAbsorberMaterial, phantomSizeX, phantomSizeY, and phantomSizeZ.

Referenced by SetPhantomMaterial().

+ Here is the caller graph for this function:

void BrachyDetectorConstruction::SelectBrachytherapicSeed ( G4String  val)

Definition at line 141 of file BrachyDetectorConstruction.cc.

References detectorChoice, G4cout, and G4endl.

void BrachyDetectorConstruction::SetPhantomMaterial ( G4String  materialChoice)

Definition at line 207 of file BrachyDetectorConstruction.cc.

References G4cout, G4endl, G4Material::GetMaterial(), phantomAbsorberMaterial, PhantomLog, and PrintDetectorParameters().

+ Here is the call graph for this function:

void BrachyDetectorConstruction::SwitchBrachytherapicSeed ( )

Definition at line 110 of file BrachyDetectorConstruction.cc.

References detectorChoice, factory, G4cout, G4endl, pyG4RunManager::GeometryHasBeenModified, G4RunManager::GetRunManager(), and PhantomPhys.

+ Here is the call graph for this function:

Member Data Documentation

G4int BrachyDetectorConstruction::detectorChoice
private
BrachyDetectorMessenger* BrachyDetectorConstruction::detectorMessenger
private
BrachyFactory* BrachyDetectorConstruction::factory
private
G4Box* BrachyDetectorConstruction::Phantom
private

Definition at line 75 of file BrachyDetectorConstruction.hh.

Referenced by ConstructPhantom().

G4Material* BrachyDetectorConstruction::phantomAbsorberMaterial
private

Definition at line 78 of file BrachyDetectorConstruction.hh.

Referenced by PrintDetectorParameters(), and SetPhantomMaterial().

G4LogicalVolume* BrachyDetectorConstruction::PhantomLog
private

Definition at line 76 of file BrachyDetectorConstruction.hh.

Referenced by ConstructPhantom(), and SetPhantomMaterial().

G4VPhysicalVolume* BrachyDetectorConstruction::PhantomPhys
private
G4double BrachyDetectorConstruction::phantomSizeX
private
G4double BrachyDetectorConstruction::phantomSizeY
private
G4double BrachyDetectorConstruction::phantomSizeZ
private
BrachyMaterial* BrachyDetectorConstruction::pMaterial
private
G4Box* BrachyDetectorConstruction::World
private

Definition at line 70 of file BrachyDetectorConstruction.hh.

Referenced by ConstructPhantom().

G4LogicalVolume* BrachyDetectorConstruction::WorldLog
private

Definition at line 71 of file BrachyDetectorConstruction.hh.

Referenced by ConstructPhantom().

G4VPhysicalVolume* BrachyDetectorConstruction::WorldPhys
private

Definition at line 72 of file BrachyDetectorConstruction.hh.

Referenced by Construct(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeX
private

Definition at line 83 of file BrachyDetectorConstruction.hh.

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeY
private

Definition at line 84 of file BrachyDetectorConstruction.hh.

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeZ
private

Definition at line 85 of file BrachyDetectorConstruction.hh.

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().


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