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

#include <geant4/tree/geant4-10.6-release/examples/advanced/brachytherapy/include/BrachyDetectorConstruction.hh>

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

Public Member Functions

 BrachyDetectorConstruction ()
 
 ~BrachyDetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
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
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Attributes

G4int detectorChoice
 
BrachyFactoryfactory
 
G4BoxWorld
 
G4LogicalVolumeWorldLog
 
G4VPhysicalVolumeWorldPhys
 
G4BoxPhantom
 
G4LogicalVolumePhantomLog
 
G4VPhysicalVolumePhantomPhys
 
G4MaterialphantomAbsorberMaterial
 
G4double phantomSizeX
 
G4double phantomSizeY
 
G4double phantomSizeZ
 
G4double worldSizeX
 
G4double worldSizeY
 
G4double worldSizeZ
 
BrachyDetectorMessengerdetectorMessenger
 
BrachyMaterialpMaterial
 

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 50 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 50 of file BrachyDetectorConstruction.hh

Constructor & Destructor Documentation

BrachyDetectorConstruction::BrachyDetectorConstruction ( )

Definition at line 64 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 64 of file BrachyDetectorConstruction.cc

References cm, detectorMessenger, factory, m, phantomSizeX, phantomSizeY, phantomSizeZ, pMaterial, worldSizeX, worldSizeY, and worldSizeZ.

BrachyDetectorConstruction::~BrachyDetectorConstruction ( )

Definition at line 92 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 92 of file BrachyDetectorConstruction.cc

References detectorMessenger, factory, and pMaterial.

Member Function Documentation

G4VPhysicalVolume * BrachyDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 99 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 99 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 178 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 178 of file BrachyDetectorConstruction.cc

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

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BrachyDetectorConstruction::PrintDetectorParameters ( )

Definition at line 214 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 214 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 149 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 149 of file BrachyDetectorConstruction.cc

References detectorChoice, G4cout, and G4endl.

void BrachyDetectorConstruction::SetPhantomMaterial ( G4String  materialChoice)

Definition at line 231 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 231 of file BrachyDetectorConstruction.cc

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

+ Here is the call graph for this function:

void BrachyDetectorConstruction::SwitchBrachytherapicSeed ( )

Definition at line 112 of file BrachyDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 112 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

Definition at line 67 of file BrachyDetectorConstruction.hh.

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

Referenced by SelectBrachytherapicSeed(), and SwitchBrachytherapicSeed().

BrachyDetectorMessenger* BrachyDetectorConstruction::detectorMessenger
private

Definition at line 87 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 87 of file BrachyDetectorConstruction.hh

Referenced by BrachyDetectorConstruction(), and ~BrachyDetectorConstruction().

BrachyFactory* BrachyDetectorConstruction::factory
private

Definition at line 68 of file BrachyDetectorConstruction.hh.

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

Referenced by BrachyDetectorConstruction(), Construct(), SwitchBrachytherapicSeed(), and ~BrachyDetectorConstruction().

G4Box* BrachyDetectorConstruction::Phantom
private

Definition at line 76 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 76 of file BrachyDetectorConstruction.hh

Referenced by ConstructPhantom().

G4Material* BrachyDetectorConstruction::phantomAbsorberMaterial
private

Definition at line 79 of file BrachyDetectorConstruction.hh.

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

Referenced by PrintDetectorParameters(), and SetPhantomMaterial().

G4LogicalVolume* BrachyDetectorConstruction::PhantomLog
private

Definition at line 77 of file BrachyDetectorConstruction.hh.

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

Referenced by ConstructPhantom(), and SetPhantomMaterial().

G4VPhysicalVolume* BrachyDetectorConstruction::PhantomPhys
private

Definition at line 78 of file BrachyDetectorConstruction.hh.

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

Referenced by Construct(), ConstructPhantom(), and SwitchBrachytherapicSeed().

G4double BrachyDetectorConstruction::phantomSizeX
private

Definition at line 81 of file BrachyDetectorConstruction.hh.

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

Referenced by BrachyDetectorConstruction(), ConstructPhantom(), and PrintDetectorParameters().

G4double BrachyDetectorConstruction::phantomSizeY
private

Definition at line 82 of file BrachyDetectorConstruction.hh.

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

Referenced by BrachyDetectorConstruction(), ConstructPhantom(), and PrintDetectorParameters().

G4double BrachyDetectorConstruction::phantomSizeZ
private

Definition at line 83 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 83 of file BrachyDetectorConstruction.hh

Referenced by BrachyDetectorConstruction(), ConstructPhantom(), and PrintDetectorParameters().

BrachyMaterial* BrachyDetectorConstruction::pMaterial
private

Definition at line 88 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 88 of file BrachyDetectorConstruction.hh

Referenced by BrachyDetectorConstruction(), Construct(), ConstructPhantom(), and ~BrachyDetectorConstruction().

G4Box* BrachyDetectorConstruction::World
private

Definition at line 71 of file BrachyDetectorConstruction.hh.

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

Referenced by ConstructPhantom().

G4LogicalVolume* BrachyDetectorConstruction::WorldLog
private

Definition at line 72 of file BrachyDetectorConstruction.hh.

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

Referenced by ConstructPhantom().

G4VPhysicalVolume* BrachyDetectorConstruction::WorldPhys
private

Definition at line 73 of file BrachyDetectorConstruction.hh.

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

Referenced by Construct(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeX
private

Definition at line 84 of file BrachyDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 84 of file BrachyDetectorConstruction.hh

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeY
private

Definition at line 85 of file BrachyDetectorConstruction.hh.

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

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().

G4double BrachyDetectorConstruction::worldSizeZ
private

Definition at line 86 of file BrachyDetectorConstruction.hh.

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

Referenced by BrachyDetectorConstruction(), and ConstructPhantom().


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