Geant4  10.03
G4ITTransportationManager Class Reference

#include <G4ITTransportationManager.hh>

+ Collaboration diagram for G4ITTransportationManager:

Public Member Functions

G4ITNavigator * GetNavigatorForTracking () const
 
void SetWorldForTracking (G4VPhysicalVolume *theWorld)
 
size_t GetNoActiveNavigators () const
 
std::vector< G4ITNavigator * >
::iterator 
GetActiveNavigatorsIterator ()
 
size_t GetNoWorlds () const
 
std::vector< G4VPhysicalVolume * >
::iterator 
GetWorldsIterator ()
 
G4ITSafetyHelperGetSafetyHelper () const
 
G4VPhysicalVolumeGetParallelWorld (const G4String &worldName)
 
G4VPhysicalVolumeIsWorldExisting (const G4String &worldName)
 
G4ITNavigator * GetNavigator (const G4String &worldName)
 
G4ITNavigator * GetNavigator (G4VPhysicalVolume *aWorld)
 
G4bool RegisterWorld (G4VPhysicalVolume *aWorld)
 
void DeRegisterNavigator (G4ITNavigator *aNavigator)
 
G4int ActivateNavigator (G4ITNavigator *aNavigator)
 
void DeActivateNavigator (G4ITNavigator *aNavigator)
 
void InactivateAll ()
 

Static Public Member Functions

static void DeleteInstance ()
 
static G4ITTransportationManagerGetTransportationManager ()
 

Private Member Functions

void ClearNavigators ()
 
void DeRegisterWorld (G4VPhysicalVolume *aWorld)
 
 G4ITTransportationManager ()
 
 ~G4ITTransportationManager ()
 
void Initialize ()
 

Private Attributes

G4ITSafetyHelperfpSafetyHelper
 
std::vector< G4ITNavigator * > fNavigators
 
std::vector< G4ITNavigator * > fActiveNavigators
 
std::vector< G4VPhysicalVolume * > fWorlds
 

Static Private Attributes

static G4ThreadLocal
G4ITTransportationManager
fpInstance
 {Duplicated version of G4TransportationManager. This class just contains the pointer to the navigator object of the simulation.} More...
 

Detailed Description

Definition at line 62 of file G4ITTransportationManager.hh.

Constructor & Destructor Documentation

G4ITTransportationManager::G4ITTransportationManager ( )
private

Definition at line 46 of file G4ITTransportationManager.cc.

References Initialize().

Referenced by GetTransportationManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ITTransportationManager::~G4ITTransportationManager ( )
private

Definition at line 51 of file G4ITTransportationManager.cc.

References ClearNavigators(), and fpSafetyHelper.

+ Here is the call graph for this function:

Member Function Documentation

G4int G4ITTransportationManager::ActivateNavigator ( G4ITNavigator *  aNavigator)

Definition at line 268 of file G4ITTransportationManager.cc.

References fActiveNavigators, fNavigators, G4Exception(), and JustWarning.

+ Here is the call graph for this function:

void G4ITTransportationManager::ClearNavigators ( )
private

Definition at line 72 of file G4ITTransportationManager.cc.

References fActiveNavigators, fNavigators, and fWorlds.

Referenced by ~G4ITTransportationManager().

+ Here is the caller graph for this function:

void G4ITTransportationManager::DeActivateNavigator ( G4ITNavigator *  aNavigator)

Definition at line 306 of file G4ITTransportationManager.cc.

References fActiveNavigators, fNavigators, G4Exception(), and JustWarning.

+ Here is the call graph for this function:

void G4ITTransportationManager::DeleteInstance ( )
static

Definition at line 57 of file G4ITTransportationManager.cc.

References fpInstance.

void G4ITTransportationManager::DeRegisterNavigator ( G4ITNavigator *  aNavigator)

Definition at line 229 of file G4ITTransportationManager.cc.

References DeRegisterWorld(), FatalException, fNavigators, G4Exception(), and JustWarning.

+ Here is the call graph for this function:

void G4ITTransportationManager::DeRegisterWorld ( G4VPhysicalVolume aWorld)
private

Definition at line 407 of file G4ITTransportationManager.cc.

References fWorlds, G4Exception(), G4VPhysicalVolume::GetName(), and JustWarning.

Referenced by DeRegisterNavigator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<G4ITNavigator*>::iterator G4ITTransportationManager::GetActiveNavigatorsIterator ( )
inline
G4ITNavigator * G4ITTransportationManager::GetNavigator ( const G4String worldName)

Definition at line 146 of file G4ITTransportationManager.cc.

References FatalException, fNavigators, G4Exception(), and IsWorldExisting().

+ Here is the call graph for this function:

G4ITNavigator * G4ITTransportationManager::GetNavigator ( G4VPhysicalVolume aWorld)

Definition at line 189 of file G4ITTransportationManager.cc.

References FatalException, fNavigators, fWorlds, G4Exception(), and G4VPhysicalVolume::GetName().

+ Here is the call graph for this function:

G4ITNavigator* G4ITTransportationManager::GetNavigatorForTracking ( ) const

Referenced by G4ITMultiNavigator::CheckMassWorld(), G4DNAMolecularDissociation::DecayIt(), G4ITMultiNavigator::G4ITMultiNavigator(), G4ITTransportation::G4ITTransportation(), GetParallelWorld(), and G4ITSafetyHelper::InitialiseNavigator().

+ Here is the caller graph for this function:

size_t G4ITTransportationManager::GetNoActiveNavigators ( ) const
inline
size_t G4ITTransportationManager::GetNoWorlds ( ) const
inline
G4VPhysicalVolume * G4ITTransportationManager::GetParallelWorld ( const G4String worldName)

Definition at line 124 of file G4ITTransportationManager.cc.

References G4VPhysicalVolume::GetLogicalVolume(), GetNavigatorForTracking(), G4LogicalVolume::GetSolid(), IsWorldExisting(), and RegisterWorld().

+ Here is the call graph for this function:

G4ITSafetyHelper* G4ITTransportationManager::GetSafetyHelper ( ) const
inline

Referenced by G4ITPathFinder::EnableParallelNavigation(), G4ITTransportation::G4ITTransportation(), and G4ITPathFinder::PrepareNewTrack().

+ Here is the caller graph for this function:

G4ITTransportationManager * G4ITTransportationManager::GetTransportationManager ( )
static

Definition at line 111 of file G4ITTransportationManager.cc.

References fpInstance, and G4ITTransportationManager().

Referenced by G4DNAMolecularDissociation::DecayIt(), G4ITMultiNavigator::G4ITMultiNavigator(), G4ITPathFinder::G4ITPathFinder(), G4ITTransportation::G4ITTransportation(), G4ITSafetyHelper::InitialiseNavigator(), and G4ITStepProcessor::Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<G4VPhysicalVolume*>::iterator G4ITTransportationManager::GetWorldsIterator ( )
inline
void G4ITTransportationManager::InactivateAll ( )

Definition at line 337 of file G4ITTransportationManager.cc.

References fActiveNavigators, and fNavigators.

void G4ITTransportationManager::Initialize ( )
private

Definition at line 84 of file G4ITTransportationManager.cc.

References fActiveNavigators, fNavigators, fpSafetyHelper, fWorlds, G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetNoWorlds(), G4TransportationManager::GetTransportationManager(), G4TransportationManager::GetWorldsIterator(), and G4Navigator::GetWorldVolume().

Referenced by G4ITTransportationManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4ITTransportationManager::IsWorldExisting ( const G4String worldName)

Definition at line 360 of file G4ITTransportationManager.cc.

References fNavigators, fWorlds, and G4InuclParticleNames::name().

Referenced by GetNavigator(), and GetParallelWorld().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4ITTransportationManager::RegisterWorld ( G4VPhysicalVolume aWorld)

Definition at line 385 of file G4ITTransportationManager.cc.

References fWorlds.

Referenced by GetParallelWorld().

+ Here is the caller graph for this function:

void G4ITTransportationManager::SetWorldForTracking ( G4VPhysicalVolume theWorld)
inline

Member Data Documentation

std::vector<G4ITNavigator*> G4ITTransportationManager::fActiveNavigators
private
std::vector<G4ITNavigator*> G4ITTransportationManager::fNavigators
private
G4ThreadLocal G4ITTransportationManager * G4ITTransportationManager::fpInstance
staticprivate

{Duplicated version of G4TransportationManager. This class just contains the pointer to the navigator object of the simulation.}

Definition at line 117 of file G4ITTransportationManager.hh.

Referenced by DeleteInstance(), and GetTransportationManager().

G4ITSafetyHelper* G4ITTransportationManager::fpSafetyHelper
private

Definition at line 120 of file G4ITTransportationManager.hh.

Referenced by Initialize(), and ~G4ITTransportationManager().

std::vector<G4VPhysicalVolume*> G4ITTransportationManager::fWorlds
private

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