Geant4  10.01.p03
G4TransportationManager Class Reference

#include <G4TransportationManager.hh>

+ Collaboration diagram for G4TransportationManager:

Public Member Functions

G4PropagatorInFieldGetPropagatorInField () const
 
void SetPropagatorInField (G4PropagatorInField *newFieldPropagator)
 
G4FieldManagerGetFieldManager () const
 
void SetFieldManager (G4FieldManager *newFieldManager)
 
G4NavigatorGetNavigatorForTracking () const
 
void SetNavigatorForTracking (G4Navigator *newNavigator)
 
void SetWorldForTracking (G4VPhysicalVolume *theWorld)
 
size_t GetNoActiveNavigators () const
 
std::vector< G4Navigator * >
::iterator 
GetActiveNavigatorsIterator ()
 
size_t GetNoWorlds () const
 
std::vector< G4VPhysicalVolume * >
::iterator 
GetWorldsIterator ()
 
G4SafetyHelperGetSafetyHelper () const
 
G4VPhysicalVolumeGetParallelWorld (const G4String &worldName)
 
G4VPhysicalVolumeIsWorldExisting (const G4String &worldName)
 
G4NavigatorGetNavigator (const G4String &worldName)
 
G4NavigatorGetNavigator (G4VPhysicalVolume *aWorld)
 
G4bool RegisterWorld (G4VPhysicalVolume *aWorld)
 
void DeRegisterNavigator (G4Navigator *aNavigator)
 
G4int ActivateNavigator (G4Navigator *aNavigator)
 
void DeActivateNavigator (G4Navigator *aNavigator)
 
void InactivateAll ()
 
void ClearParallelWorlds ()
 

Static Public Member Functions

static G4TransportationManagerGetTransportationManager ()
 

Protected Member Functions

 G4TransportationManager ()
 
 ~G4TransportationManager ()
 

Private Member Functions

void ClearNavigators ()
 
void DeRegisterWorld (G4VPhysicalVolume *aWorld)
 

Private Attributes

std::vector< G4Navigator * > fNavigators
 
std::vector< G4Navigator * > fActiveNavigators
 
std::vector< G4VPhysicalVolume * > fWorlds
 
G4PropagatorInFieldfPropagatorInField
 
G4FieldManagerfFieldManager
 
G4GeometryMessengerfGeomMessenger
 
G4SafetyHelperfSafetyHelper
 

Static Private Attributes

static G4ThreadLocal
G4TransportationManager
fTransportationManager =0
 

Detailed Description

Definition at line 57 of file G4TransportationManager.hh.

Constructor & Destructor Documentation

G4TransportationManager::G4TransportationManager ( )
protected

Definition at line 56 of file G4TransportationManager.cc.

References G4Navigator::Activate(), fActiveNavigators, FatalException, fFieldManager, fGeomMessenger, fNavigators, fPropagatorInField, fSafetyHelper, fTransportationManager, fWorlds, G4Exception(), and G4Navigator::GetWorldVolume().

Referenced by GetTransportationManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4TransportationManager::~G4TransportationManager ( )
protected

Definition at line 82 of file G4TransportationManager.cc.

References ClearNavigators(), fFieldManager, fGeomMessenger, fPropagatorInField, fSafetyHelper, and fTransportationManager.

+ Here is the call graph for this function:

Member Function Documentation

G4int G4TransportationManager::ActivateNavigator ( G4Navigator aNavigator)

Definition at line 304 of file G4TransportationManager.cc.

References G4Navigator::Activate(), fActiveNavigators, FatalException, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), and G4Navigator::GetWorldVolume().

Referenced by G4CoupledTransportation::G4CoupledTransportation(), G4SafetyHelper::InitialiseNavigator(), G4WeightCutOffProcess::StartTracking(), G4ImportanceProcess::StartTracking(), G4WeightWindowProcess::StartTracking(), G4ParallelWorldScoringProcess::StartTracking(), G4ParallelWorldProcess::StartTracking(), G4FastSimulationManagerProcess::StartTracking(), and G4CoupledTransportation::StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TransportationManager::ClearNavigators ( )
private

Definition at line 146 of file G4TransportationManager.cc.

References fActiveNavigators, fNavigators, and fWorlds.

Referenced by ~G4TransportationManager().

+ Here is the caller graph for this function:

void G4TransportationManager::ClearParallelWorlds ( )

Definition at line 457 of file G4TransportationManager.cc.

References fActiveNavigators, fNavigators, and fWorlds.

Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::ReinitializeGeometry().

+ Here is the caller graph for this function:

void G4TransportationManager::DeActivateNavigator ( G4Navigator aNavigator)

Definition at line 339 of file G4TransportationManager.cc.

References fActiveNavigators, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), G4Navigator::GetWorldVolume(), and JustWarning.

Referenced by G4FastSimulationManagerProcess::EndTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TransportationManager::DeRegisterNavigator ( G4Navigator aNavigator)

Definition at line 265 of file G4TransportationManager.cc.

References DeRegisterWorld(), FatalException, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), G4Navigator::GetWorldVolume(), and JustWarning.

+ Here is the call graph for this function:

void G4TransportationManager::DeRegisterWorld ( G4VPhysicalVolume aWorld)
private

Definition at line 432 of file G4TransportationManager.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<G4Navigator*>::iterator G4TransportationManager::GetActiveNavigatorsIterator ( )
inline
G4Navigator * G4TransportationManager::GetNavigator ( const G4String worldName)

Definition at line 189 of file G4TransportationManager.cc.

References FatalException, fNavigators, G4Exception(), IsWorldExisting(), and G4Navigator::SetWorldVolume().

Referenced by G4WeightCutOffProcess::SetParallelWorld(), G4ImportanceProcess::SetParallelWorld(), G4ParallelWorldScoringProcess::SetParallelWorld(), G4WeightWindowProcess::SetParallelWorld(), G4ParallelWorldProcess::SetParallelWorld(), and G4FastSimulationManagerProcess::StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Navigator * G4TransportationManager::GetNavigator ( G4VPhysicalVolume aWorld)

Definition at line 229 of file G4TransportationManager.cc.

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

+ Here is the call graph for this function:

G4Navigator* G4TransportationManager::GetNavigatorForTracking ( ) const
inline

Referenced by G4RayTrajectory::AppendStep(), G4MultiNavigator::CheckMassWorld(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4TheRayTracer::CreateBitMap(), G4MagneticFieldModel::DescribeYourselfTo(), DMXParticleSource::DMXParticleSource(), DMXStackingAction::DMXStackingAction(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4PathFinder::EnableParallelNavigation(), G4ASCIITreeSceneHandler::EndModeling(), G4TrajectoryOriginVolumeFilter::Evaluate(), export_G4TransportationManager(), G4FastTrack::FRecordsAffineTransformation(), G4CoupledTransportation::G4CoupledTransportation(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4GeometrySampler::G4GeometrySampler(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4MonopoleTransportation::G4MonopoleTransportation(), G4MultiNavigator::G4MultiNavigator(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4Transportation::G4Transportation(), GetParallelWorld(), G4GeometryMessenger::Init(), G4SafetyHelper::InitialiseNavigator(), G4ITTransportationManager::Initialize(), G4SPSPosDistribution::IsSourceConfined(), G4FastSimulationManager::ListTitle(), G4VTransitionRadiation::PostStepDoIt(), G4GeometryMessenger::ResetNavigator(), G4GeometryMessenger::SetCheckMode(), G4GeometryMessenger::SetPushFlag(), G4GeometryMessenger::SetVerbosity(), G4WeightWindowStore::SetWorldVolume(), G4IStore::SetWorldVolume(), G4ErrorPropagatorManager::StartNavigator(), G4FastSimulationManagerProcess::StartTracking(), and G4CoupledTransportation::StartTracking().

+ Here is the caller graph for this function:

size_t G4TransportationManager::GetNoActiveNavigators ( ) const
inline
size_t G4TransportationManager::GetNoWorlds ( ) const
inline

Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4ITTransportationManager::Initialize(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4TransportationManager::GetParallelWorld ( const G4String worldName)
G4SafetyHelper* G4TransportationManager::GetSafetyHelper ( ) const
inline
G4TransportationManager * G4TransportationManager::GetTransportationManager ( )
static

Definition at line 100 of file G4TransportationManager.cc.

References fTransportationManager, and G4TransportationManager().

Referenced by G4Scene::AddWorldIfEmpty(), G4RayTrajectory::AppendStep(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4RunManagerKernel::CheckRegions(), G4VPrimaryGenerator::CheckVertexInsideWorld(), HepMCG4Interface::CheckVertexInsideWorld(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4BlineTracer::ComputeBlines(), CCalDetectorConstruction::Construct(), H02DetectorConstruction::Construct(), ExN04DetectorConstruction::Construct(), F04ElementField::Construct(), F04GlobalField::ConstructField(), G4ParallelWorldPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), G4MTRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), RE05DetectorConstruction::ConstructSDandField(), ExUCNDetectorConstruction::ConstructSDandField(), F05DetectorConstruction::ConstructSDandField(), F06DetectorConstruction::ConstructSDandField(), PurgMagDetectorConstruction::ConstructSDandField(), G4TheRayTracer::CreateBitMap(), G4ScoreSplittingProcess::CreateTouchableForSubStep(), G4DecayWithSpin::DecayIt(), G4RunManagerKernel::DefineWorldVolume(), G4MagneticFieldModel::DescribeYourselfTo(), DMXParticleSource::DMXParticleSource(), DMXStackingAction::DMXStackingAction(), G4ITTransportation::DoesGlobalFieldExist(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4DrawVoxels::DrawVoxels(), G4ASCIITreeSceneHandler::EndModeling(), G4CoupledTransportation::EndTracking(), G4TrajectoryOriginVolumeFilter::Evaluate(), export_G4TransportationManager(), Par01PionShowerModel::FillFakeStep(), Par01EMShowerModel::FillFakeStep(), G4FastTrack::FRecordsAffineTransformation(), G4CoupledTransportation::G4CoupledTransportation(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4GeometrySampler::G4GeometrySampler(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4ImportanceProcess::G4ImportanceProcess(), G4ITTransportation::G4ITTransportation(), G4MonopoleTransportation::G4MonopoleTransportation(), G4MultiNavigator::G4MultiNavigator(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4PathFinder::G4PathFinder(), G4SteppingManager::G4SteppingManager(), G4SynchrotronRadiation::G4SynchrotronRadiation(), G4SynchrotronRadiationInMat::G4SynchrotronRadiationInMat(), G4Transportation::G4Transportation(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), F04PrimaryGeneratorAction::GeneratePrimaries(), G4VisManager::GeometryHasChanged(), ExErrorMagneticField::GetGlobalFieldManager(), ExN02MagneticField::GetGlobalFieldManager(), ExP01MagneticField::GetGlobalFieldManager(), G4MonopoleFieldSetup::GetGlobalFieldManager(), F03FieldSetup::GetGlobalFieldManager(), F02ElectricFieldSetup::GetGlobalFieldManager(), F01FieldSetup::GetGlobalFieldManager(), F04GlobalField::GetGlobalFieldManager(), G4VMscModel::GetParticleChangeForMSC(), G4VUserParallelWorld::GetWorld(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4MonopoleFieldSetup::InitialiseAll(), F01FieldSetup::InitialiseAll(), G4SafetyHelper::InitialiseNavigator(), G4BOptnForceCommonTruncatedExp::Initialize(), G4ITTransportationManager::Initialize(), G4WorkerRunManager::InitializeGeometry(), G4ErrorRunManagerHelper::InitializeGeometry(), G4SPSPosDistribution::IsSourceConfined(), G4FastSimulationManager::ListTitle(), main(), GFlashHitMaker::make(), G4VTransitionRadiation::PostStepDoIt(), G4UCNBoundaryProcess::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), G4VMultipleScattering::PreparePhysicsTable(), G4ErrorFreeTrajState::PropagateError(), G4RunManager::ReinitializeGeometry(), G4BlineTracer::ResetChordFinders(), G4GlobalMagFieldMessenger::SetField(), ExN03DetectorConstruction::SetMagField(), DetectorConstruction::SetMagField(), DetectorConstruction::SetMaxStepLength(), G4VisCommandsTouchable::SetNewValue(), G4TrackingMessenger::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4WeightWindowStore::SetParallelWorldVolume(), G4IStore::SetParallelWorldVolume(), G4RTPrimaryGeneratorAction::SetUp(), G4WeightWindowStore::SetWorldVolume(), G4IStore::SetWorldVolume(), G4GlobalFastSimulationManager::ShowSetup(), G4ErrorPropagatorManager::StartNavigator(), G4FastSimulationManagerProcess::StartTracking(), G4CoupledTransportation::StartTracking(), G4PhysicalVolumeModel::Validate(), G4RunManagerKernel::WorkerDefineWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().

+ Here is the call graph for this function:

std::vector<G4VPhysicalVolume*>::iterator G4TransportationManager::GetWorldsIterator ( )
inline

Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4ITTransportationManager::Initialize(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().

+ Here is the caller graph for this function:

void G4TransportationManager::InactivateAll ( )

Definition at line 370 of file G4TransportationManager.cc.

References fActiveNavigators, and fNavigators.

Referenced by G4CoupledTransportation::EndTracking().

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4TransportationManager::IsWorldExisting ( const G4String worldName)

Definition at line 392 of file G4TransportationManager.cc.

References fNavigators, fWorlds, and name.

Referenced by G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), GetNavigator(), GetParallelWorld(), G4FastSimulationManagerProcess::SetWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().

+ Here is the caller graph for this function:

G4bool G4TransportationManager::RegisterWorld ( G4VPhysicalVolume aWorld)

Definition at line 411 of file G4TransportationManager.cc.

References fWorlds.

Referenced by GetParallelWorld(), G4RunManagerKernel::WorkerDefineWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().

+ Here is the caller graph for this function:

void G4TransportationManager::SetFieldManager ( G4FieldManager newFieldManager)

Definition at line 114 of file G4TransportationManager.cc.

References fFieldManager, and fPropagatorInField.

Referenced by export_G4TransportationManager().

+ Here is the caller graph for this function:

void G4TransportationManager::SetNavigatorForTracking ( G4Navigator newNavigator)

Definition at line 133 of file G4TransportationManager.cc.

References fActiveNavigators, fNavigators, fPropagatorInField, and G4PropagatorInField::SetNavigatorForPropagating().

Referenced by export_G4TransportationManager(), and G4ErrorPropagatorManager::StartNavigator().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TransportationManager::SetPropagatorInField ( G4PropagatorInField newFieldPropagator)
inline

Referenced by export_G4TransportationManager().

+ Here is the caller graph for this function:

void G4TransportationManager::SetWorldForTracking ( G4VPhysicalVolume theWorld)
inline

Referenced by G4RunManagerKernel::DefineWorldVolume(), and G4RunManagerKernel::WorkerDefineWorldVolume().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4Navigator*> G4TransportationManager::fActiveNavigators
private
G4FieldManager* G4TransportationManager::fFieldManager
private
G4GeometryMessenger* G4TransportationManager::fGeomMessenger
private
G4PropagatorInField* G4TransportationManager::fPropagatorInField
private
G4SafetyHelper* G4TransportationManager::fSafetyHelper
private
G4ThreadLocal G4TransportationManager * G4TransportationManager::fTransportationManager =0
staticprivate
std::vector<G4VPhysicalVolume*> G4TransportationManager::fWorlds
private

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