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

#include <geant4/tree/geant4-10.6-release/examples/advanced/medical_linac/include/ML2WorldConstruction.hh>

+ Inheritance diagram for CML2WorldConstruction:
+ Collaboration diagram for CML2WorldConstruction:

Public Member Functions

 CML2WorldConstruction (void)
 
 ~CML2WorldConstruction (void)
 
G4VPhysicalVolumeConstruct ()
 
bool create (SInputData *inputData, bool bOnlyVisio)
 
CML2AcceleratorConstructiongetCML2AcceleratorConstruction ()
 
bool newGeometry ()
 
bool getWorldCreated ()
 
CML2PhantomConstructiongetPhantomWorld ()
 
CML2AcceleratorConstructiongetAcceleratorWorld ()
 
void checkVolumeOverlap ()
 
G4bool getbOnlyVisio ()
 
- 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
 

Static Public Member Functions

static CML2WorldConstructionGetInstance (void)
 

Private Attributes

bool bWorldCreated
 
CML2AcceleratorConstructionacceleratorEnv
 
CML2PhantomConstructionphantomEnv
 
G4VPhysicalVolumePVWorld
 
CML2PhaseSpacesphaseSpace
 
CML2PhaseSpacesbackScatteredPlane
 
G4bool bOnlyVisio
 

Static Private Attributes

static CML2WorldConstructioninstance = 0
 

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 73 of file ML2WorldConstruction.hh.

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

Constructor & Destructor Documentation

CML2WorldConstruction::CML2WorldConstruction ( void  )

Definition at line 47 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 47 of file ML2WorldConstruction.cc

References acceleratorEnv, bOnlyVisio, bWorldCreated, CML2PhantomConstruction::GetInstance(), CML2AcceleratorConstruction::GetInstance(), and phantomEnv.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CML2WorldConstruction::~CML2WorldConstruction ( void  )

Definition at line 55 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 55 of file ML2WorldConstruction.cc

References backScatteredPlane, and phaseSpace.

Member Function Documentation

void CML2WorldConstruction::checkVolumeOverlap ( )

Definition at line 144 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 144 of file ML2WorldConstruction.cc

References G4VPhysicalVolume::CheckOverlaps(), G4cout, G4endl, G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), int(), k, and PVWorld.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VPhysicalVolume * CML2WorldConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 72 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 72 of file ML2WorldConstruction.cc

References PVWorld.

Referenced by create().

+ Here is the caller graph for this function:

bool CML2WorldConstruction::create ( SInputData inputData,
bool  bOnlyVisio 
)

Definition at line 77 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 77 of file ML2WorldConstruction.cc

References acceleratorEnv, G4Colour::Black(), bOnlyVisio, bWorldCreated, CML2PhantomConstruction::Construct(), Construct(), G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, SInputData::generalData, CML2AcceleratorConstruction::getAcceleratorName(), CML2PhantomConstruction::getPhantomName(), G4NistManager::Instance(), mm, SvoxelSegmentation::nX, SvoxelSegmentation::nY, SvoxelSegmentation::nZ, phantomEnv, PVWorld, SGeneralData::StartFileInputData, and SInputData::voxelSegmentation.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CML2AcceleratorConstruction* CML2WorldConstruction::getAcceleratorWorld ( )
inline

Definition at line 92 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 92 of file ML2WorldConstruction.hh

References acceleratorEnv.

G4bool CML2WorldConstruction::getbOnlyVisio ( )
inline

Definition at line 95 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 95 of file ML2WorldConstruction.hh

References bOnlyVisio.

CML2AcceleratorConstruction* CML2WorldConstruction::getCML2AcceleratorConstruction ( )
inline

Definition at line 84 of file ML2WorldConstruction.hh.

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

References acceleratorEnv.

Referenced by main().

+ Here is the caller graph for this function:

CML2WorldConstruction * CML2WorldConstruction::GetInstance ( void  )
static

Definition at line 63 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 63 of file ML2WorldConstruction.cc

References CML2WorldConstruction(), and instance.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CML2PhantomConstruction* CML2WorldConstruction::getPhantomWorld ( )
inline

Definition at line 91 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 91 of file ML2WorldConstruction.hh

References phantomEnv.

bool CML2WorldConstruction::getWorldCreated ( )
inline

Definition at line 87 of file ML2WorldConstruction.hh.

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

References bWorldCreated.

bool CML2WorldConstruction::newGeometry ( )

Definition at line 168 of file ML2WorldConstruction.cc.

View newest version in sPHENIX GitHub at line 168 of file ML2WorldConstruction.cc

References acceleratorEnv, CML2PrimaryGenerationAction::GetInstance(), phantomEnv, and CML2PrimaryGenerationAction::setRotation().

+ Here is the call graph for this function:

Member Data Documentation

CML2AcceleratorConstruction* CML2WorldConstruction::acceleratorEnv
private

Definition at line 100 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 100 of file ML2WorldConstruction.hh

Referenced by CML2WorldConstruction(), create(), getAcceleratorWorld(), getCML2AcceleratorConstruction(), and newGeometry().

CML2PhaseSpaces* CML2WorldConstruction::backScatteredPlane
private

Definition at line 104 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 104 of file ML2WorldConstruction.hh

Referenced by ~CML2WorldConstruction().

G4bool CML2WorldConstruction::bOnlyVisio
private

Definition at line 105 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 105 of file ML2WorldConstruction.hh

Referenced by CML2WorldConstruction(), create(), and getbOnlyVisio().

bool CML2WorldConstruction::bWorldCreated
private

Definition at line 99 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 99 of file ML2WorldConstruction.hh

Referenced by CML2WorldConstruction(), create(), and getWorldCreated().

CML2WorldConstruction * CML2WorldConstruction::instance = 0
staticprivate

Definition at line 97 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 97 of file ML2WorldConstruction.hh

Referenced by GetInstance().

CML2PhantomConstruction* CML2WorldConstruction::phantomEnv
private

Definition at line 101 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 101 of file ML2WorldConstruction.hh

Referenced by CML2WorldConstruction(), create(), getPhantomWorld(), and newGeometry().

CML2PhaseSpaces* CML2WorldConstruction::phaseSpace
private

Definition at line 103 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 103 of file ML2WorldConstruction.hh

Referenced by ~CML2WorldConstruction().

G4VPhysicalVolume* CML2WorldConstruction::PVWorld
private

Definition at line 102 of file ML2WorldConstruction.hh.

View newest version in sPHENIX GitHub at line 102 of file ML2WorldConstruction.hh

Referenced by checkVolumeOverlap(), Construct(), and create().


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