Geant4  10.02.p02
B02ImportanceDetectorConstruction Class Reference

#include <B02ImportanceDetectorConstruction.hh>

+ Inheritance diagram for B02ImportanceDetectorConstruction:
+ Collaboration diagram for B02ImportanceDetectorConstruction:

Public Member Functions

 B02ImportanceDetectorConstruction (G4String worldName)
 
virtual ~B02ImportanceDetectorConstruction ()
 
const G4VPhysicalVolumeGetPhysicalVolumeByName (const G4String &name) const
 
G4VPhysicalVolumeGetWorldVolumeAddress () const
 
G4String ListPhysNamesAsG4String ()
 
G4String GetCellName (G4int i)
 
G4GeometryCell GetGeometryCell (G4int i)
 
G4VPhysicalVolumeGetWorldVolume ()
 
void SetSensitive ()
 
virtual void Construct ()
 
virtual void ConstructSD ()
 
G4VIStoreCreateImportanceStore ()
 
G4VWeightWindowStoreCreateWeightWindowStore ()
 
- Public Member Functions inherited from G4VUserParallelWorld
 G4VUserParallelWorld (G4String worldName)
 
virtual ~G4VUserParallelWorld ()
 
G4String GetName ()
 

Private Attributes

B02PVolumeStore fPVolumeStore
 
std::vector< G4LogicalVolume * > fLogicalVolumeVector
 
G4VPhysicalVolumefGhostWorld
 

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 51 of file B02ImportanceDetectorConstruction.hh.

Constructor & Destructor Documentation

B02ImportanceDetectorConstruction::B02ImportanceDetectorConstruction ( G4String  worldName)

Definition at line 64 of file B02ImportanceDetectorConstruction.cc.

B02ImportanceDetectorConstruction::~B02ImportanceDetectorConstruction ( )
virtual

Definition at line 72 of file B02ImportanceDetectorConstruction.cc.

References fLogicalVolumeVector.

Member Function Documentation

void B02ImportanceDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserParallelWorld.

Definition at line 79 of file B02ImportanceDetectorConstruction.cc.

References B02PVolumeStore::AddPVolume(), cm, deg, fGhostWorld, fLogicalVolumeVector, fPVolumeStore, G4cout, G4endl, GetCellName(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VUserParallelWorld::GetWorld(), name, and SetSensitive().

+ Here is the call graph for this function:

void B02ImportanceDetectorConstruction::ConstructSD ( )
virtual
G4VIStore * B02ImportanceDetectorConstruction::CreateImportanceStore ( )

Definition at line 346 of file B02ImportanceDetectorConstruction.cc.

References G4IStore::AddImportanceGeometryCell(), fPVolumeStore, G4cout, G4endl, G4Exception(), GetGeometryCell(), G4IStore::GetInstance(), G4VUserParallelWorld::GetName(), G4VPhysicalVolume::GetName(), G4GeometryCell::GetPhysicalVolume(), G4GeometryCell::GetReplicaNumber(), GetWorldVolumeAddress(), RunMustBeAborted, and B02PVolumeStore::Size().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VWeightWindowStore * B02ImportanceDetectorConstruction::CreateWeightWindowStore ( )
G4String B02ImportanceDetectorConstruction::GetCellName ( G4int  i)

Definition at line 210 of file B02ImportanceDetectorConstruction.cc.

References name.

Referenced by Construct(), B02RunAction::EndOfRunAction(), and GetGeometryCell().

+ Here is the caller graph for this function:

G4GeometryCell B02ImportanceDetectorConstruction::GetGeometryCell ( G4int  i)

Definition at line 223 of file B02ImportanceDetectorConstruction.cc.

References fGhostWorld, fPVolumeStore, G4cout, G4endl, GetCellName(), B02PVolumeStore::GetPVolume(), and name.

Referenced by CreateImportanceStore(), and CreateWeightWindowStore().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VPhysicalVolume & B02ImportanceDetectorConstruction::GetPhysicalVolumeByName ( const G4String name) const

Definition at line 197 of file B02ImportanceDetectorConstruction.cc.

References fPVolumeStore, and B02PVolumeStore::GetPVolume().

+ Here is the call graph for this function:

G4VPhysicalVolume * B02ImportanceDetectorConstruction::GetWorldVolume ( )

Definition at line 246 of file B02ImportanceDetectorConstruction.cc.

References fGhostWorld.

Referenced by main().

+ Here is the caller graph for this function:

G4VPhysicalVolume & B02ImportanceDetectorConstruction::GetWorldVolumeAddress ( ) const

Definition at line 240 of file B02ImportanceDetectorConstruction.cc.

References fGhostWorld.

Referenced by CreateImportanceStore(), and CreateWeightWindowStore().

+ Here is the caller graph for this function:

G4String B02ImportanceDetectorConstruction::ListPhysNamesAsG4String ( )

Definition at line 203 of file B02ImportanceDetectorConstruction.cc.

References fPVolumeStore, and B02PVolumeStore::GetPNames().

+ Here is the call graph for this function:

void B02ImportanceDetectorConstruction::SetSensitive ( )

Definition at line 252 of file B02ImportanceDetectorConstruction.cc.

Referenced by Construct().

+ Here is the caller graph for this function:

Member Data Documentation

G4VPhysicalVolume* B02ImportanceDetectorConstruction::fGhostWorld
private
std::vector< G4LogicalVolume * > B02ImportanceDetectorConstruction::fLogicalVolumeVector
private

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