Geant4-11
|
#include <G4TransportationManager.hh>
Static Public Member Functions | |
static G4Navigator * | GetFirstTrackingNavigator () |
static G4TransportationManager * | GetInstanceIfExist () |
static G4TransportationManager * | GetTransportationManager () |
static void | SetFirstTrackingNavigator (G4Navigator *nav) |
Protected Member Functions | |
G4TransportationManager () | |
Private Member Functions | |
void | ClearNavigators () |
void | DeRegisterWorld (G4VPhysicalVolume *aWorld) |
Private Attributes | |
std::vector< G4Navigator * > | fActiveNavigators |
G4FieldManager * | fFieldManager |
G4GeometryMessenger * | fGeomMessenger |
std::vector< G4Navigator * > | fNavigators |
G4PropagatorInField * | fPropagatorInField |
G4SafetyHelper * | fSafetyHelper |
std::vector< G4VPhysicalVolume * > | fWorlds |
Static Private Attributes | |
static G4Navigator * | fFirstTrackingNavigator = nullptr |
static G4ThreadLocal G4TransportationManager * | fTransportationManager = nullptr |
Definition at line 53 of file G4TransportationManager.hh.
G4TransportationManager::~G4TransportationManager | ( | ) |
Definition at line 90 of file G4TransportationManager.cc.
References ClearNavigators(), fGeomMessenger, fPropagatorInField, fSafetyHelper, and fTransportationManager.
|
protected |
Definition at line 54 of file G4TransportationManager.cc.
References G4Navigator::Activate(), G4Navigator::Clone(), fActiveNavigators, FatalException, fFieldManager, fFirstTrackingNavigator, fGeomMessenger, fNavigators, fPropagatorInField, fSafetyHelper, fTransportationManager, fWorlds, G4Exception(), G4Navigator::GetExternalNavigation(), and G4Navigator::GetWorldVolume().
Referenced by GetTransportationManager().
G4int G4TransportationManager::ActivateNavigator | ( | G4Navigator * | aNavigator | ) |
Definition at line 313 of file G4TransportationManager.cc.
References G4Navigator::Activate(), fActiveNavigators, FatalException, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), and G4Navigator::GetWorldVolume().
Referenced by G4CoupledTransportation::G4CoupledTransportation(), G4SafetyHelper::InitialiseNavigator(), G4ParallelGeometriesLimiterProcess::StartTracking(), G4ImportanceProcess::StartTracking(), G4WeightCutOffProcess::StartTracking(), G4WeightWindowProcess::StartTracking(), G4FastSimulationManagerProcess::StartTracking(), G4ParallelWorldProcess::StartTracking(), G4ParallelWorldScoringProcess::StartTracking(), and G4CoupledTransportation::StartTracking().
|
private |
Definition at line 160 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, and fWorlds.
Referenced by ~G4TransportationManager().
void G4TransportationManager::ClearParallelWorlds | ( | ) |
Definition at line 461 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, and fWorlds.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::ReinitializeGeometry().
void G4TransportationManager::DeActivateNavigator | ( | G4Navigator * | aNavigator | ) |
Definition at line 346 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), G4Navigator::GetWorldVolume(), and JustWarning.
Referenced by G4ParallelGeometriesLimiterProcess::EndTracking(), and G4FastSimulationManagerProcess::EndTracking().
void G4TransportationManager::DeRegisterNavigator | ( | G4Navigator * | aNavigator | ) |
Definition at line 275 of file G4TransportationManager.cc.
References DeRegisterWorld(), FatalException, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), G4Navigator::GetWorldVolume(), and JustWarning.
|
private |
Definition at line 437 of file G4TransportationManager.cc.
References fWorlds, G4Exception(), G4VPhysicalVolume::GetName(), and JustWarning.
Referenced by DeRegisterNavigator().
|
inline |
Referenced by G4PathFinder::ComputeSafety(), G4MultiNavigator::GetGlobalExitNormal(), G4PathFinder::Locate(), G4MultiNavigator::LocateGlobalPointAndSetup(), G4MultiNavigator::LocateGlobalPointWithinVolume(), G4OpBoundaryProcess::PostStepDoIt(), G4MultiNavigator::PrepareNavigators(), G4PathFinder::PrepareNewTrack(), G4PathFinder::ReLocate(), and G4MultiNavigator::ResetHierarchyAndLocate().
|
inline |
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4VFieldModel::DescribeYourselfTo(), G4ITTransportation::DoesGlobalFieldExist(), export_G4TransportationManager(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), G4ErrorFreeTrajState::PropagateError(), G4GlobalMagFieldMessenger::SetField(), and ExN03DetectorConstruction::SetMagField().
|
static |
Definition at line 483 of file G4TransportationManager.cc.
References fFirstTrackingNavigator.
|
static |
Definition at line 118 of file G4TransportationManager.cc.
References fTransportationManager.
Referenced by G4RunManagerKernel::~G4RunManagerKernel().
G4Navigator * G4TransportationManager::GetNavigator | ( | const G4String & | worldName | ) |
Definition at line 202 of file G4TransportationManager.cc.
References FatalException, fNavigators, G4Exception(), IsWorldExisting(), and G4Navigator::SetWorldVolume().
Referenced by G4ImportanceProcess::SetParallelWorld(), G4WeightCutOffProcess::SetParallelWorld(), G4WeightWindowProcess::SetParallelWorld(), G4ParallelWorldProcess::SetParallelWorld(), G4ParallelWorldScoringProcess::SetParallelWorld(), and G4FastSimulationManagerProcess::StartTracking().
G4Navigator * G4TransportationManager::GetNavigator | ( | G4VPhysicalVolume * | aWorld | ) |
Definition at line 241 of file G4TransportationManager.cc.
References FatalException, fNavigators, fWorlds, G4Exception(), G4VPhysicalVolume::GetName(), and G4Navigator::SetWorldVolume().
|
inline |
Referenced by G4ParallelGeometriesLimiterProcess::AddParallelWorld(), G4RayTrajectory::AppendStep(), G4MultiNavigator::CheckMassWorld(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4TheRayTracer::CreateBitMap(), G4VFieldModel::DescribeYourselfTo(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4PathFinder::EnableParallelNavigation(), G4TrajectoryOriginVolumeFilter::Evaluate(), export_G4TransportationManager(), G4FastTrack::FRecordsAffineTransformation(), G4CoupledTransportation::G4CoupledTransportation(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4GeometrySampler::G4GeometrySampler(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4MultiNavigator::G4MultiNavigator(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4Transportation::G4Transportation(), GetParallelWorld(), G4GeometryMessenger::Init(), G4SafetyHelper::InitialiseNavigator(), G4ITTransportationManager::Initialize(), G4SPSPosDistribution::IsSourceConfined(), G4FastSimulationManager::ListTitle(), G4FastSimHitMaker::make(), GFlashHitMaker::make(), G4VTransitionRadiation::PostStepDoIt(), G4GeometryMessenger::ResetNavigator(), G4GeometryMessenger::SetCheckMode(), G4GeometryMessenger::SetPushFlag(), G4GeometryMessenger::SetVerbosity(), G4IStore::SetWorldVolume(), G4WeightWindowStore::SetWorldVolume(), G4ErrorPropagatorManager::StartNavigator(), G4FastSimulationManagerProcess::StartTracking(), and G4CoupledTransportation::StartTracking().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4TaskRunManager::ConstructScoringWorlds(), G4ToolsSGSceneHandler::EstablishBaseNodes(), G4Qt3DSceneHandler::EstablishG4Qt3DQEntities(), G4TouchableUtils::FindTouchableProperties(), G4ITTransportationManager::Initialize(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
G4VPhysicalVolume * G4TransportationManager::GetParallelWorld | ( | const G4String & | worldName | ) |
Definition at line 178 of file G4TransportationManager.cc.
References G4VPhysicalVolume::GetLogicalVolume(), GetNavigatorForTracking(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::GetTranslation(), G4Navigator::GetWorldVolume(), IsWorldExisting(), and RegisterWorld().
Referenced by G4ParallelWorldPhysics::ConstructProcess(), G4RunManager::ConstructScoringWorlds(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4VUserParallelWorld::GetWorld(), G4FastSimHitMaker::make(), GFlashHitMaker::make(), G4ImportanceProcess::SetParallelWorld(), G4WeightCutOffProcess::SetParallelWorld(), G4WeightWindowProcess::SetParallelWorld(), G4ParallelWorldProcess::SetParallelWorld(), G4ParallelWorldScoringProcess::SetParallelWorld(), G4IStore::SetParallelWorldVolume(), and G4WeightWindowStore::SetParallelWorldVolume().
|
inline |
Referenced by G4DecayWithSpin::AtRestDoIt(), export_G4TransportationManager(), G4CoupledTransportation::G4CoupledTransportation(), G4ITTransportation::G4ITTransportation(), G4PathFinder::G4PathFinder(), G4SynchrotronRadiation::G4SynchrotronRadiation(), G4SynchrotronRadiationInMat::G4SynchrotronRadiationInMat(), G4Transportation::G4Transportation(), G4GeometryMessenger::SetCheckMode(), G4TrackingMessenger::SetNewValue(), and G4ErrorPropagatorManager::StartNavigator().
|
inline |
Referenced by G4PathFinder::EnableParallelNavigation(), G4CoupledTransportation::G4CoupledTransportation(), G4ElNeutrinoNucleusProcess::G4ElNeutrinoNucleusProcess(), G4MuNeutrinoNucleusProcess::G4MuNeutrinoNucleusProcess(), G4NeutrinoElectronProcess::G4NeutrinoElectronProcess(), G4Transportation::G4Transportation(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4VMscModel::GetParticleChangeForMSC(), G4PathFinder::PrepareNewTrack(), and G4VMultipleScattering::PreparePhysicsTable().
|
static |
Definition at line 104 of file G4TransportationManager.cc.
References fTransportationManager, and G4TransportationManager().
Referenced by G4Scene::AddWorldIfEmpty(), G4RayTrajectory::AppendStep(), G4DecayWithSpin::AtRestDoIt(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4RunManagerKernel::CheckRegions(), G4VPrimaryGenerator::CheckVertexInsideWorld(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4ParallelWorldPhysics::ConstructProcess(), G4MTRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4TaskRunManager::ConstructScoringWorlds(), G4TheRayTracer::CreateBitMap(), G4ScoreSplittingProcess::CreateTouchableForSubStep(), G4RunManagerKernel::DefineWorldVolume(), G4VFieldModel::DescribeYourselfTo(), G4ITTransportation::DoesGlobalFieldExist(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4DrawVoxels::DrawVoxels(), G4CoupledTransportation::EndTracking(), G4ToolsSGSceneHandler::EstablishBaseNodes(), G4Qt3DSceneHandler::EstablishG4Qt3DQEntities(), G4TrajectoryOriginVolumeFilter::Evaluate(), export_G4TransportationManager(), G4TouchableUtils::FindTouchableProperties(), G4FastTrack::FRecordsAffineTransformation(), G4CoupledTransportation::G4CoupledTransportation(), G4ElNeutrinoNucleusProcess::G4ElNeutrinoNucleusProcess(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4GeometrySampler::G4GeometrySampler(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4ImportanceProcess::G4ImportanceProcess(), G4ITTransportation::G4ITTransportation(), G4MultiNavigator::G4MultiNavigator(), G4MuNeutrinoNucleusProcess::G4MuNeutrinoNucleusProcess(), G4NeutrinoElectronProcess::G4NeutrinoElectronProcess(), G4ParallelGeometriesLimiterProcess::G4ParallelGeometriesLimiterProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4PathFinder::G4PathFinder(), G4SteppingManager::G4SteppingManager(), G4SynchrotronRadiation::G4SynchrotronRadiation(), G4SynchrotronRadiationInMat::G4SynchrotronRadiationInMat(), G4Transportation::G4Transportation(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), G4VisManager::GeometryHasChanged(), G4VMscModel::GetParticleChangeForMSC(), G4VUserParallelWorld::GetWorld(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4TDNAOneStepThermalizationModel< MODEL >::Initialise(), G4SafetyHelper::InitialiseNavigator(), G4ITTransportationManager::Initialize(), G4BOptnForceCommonTruncatedExp::Initialize(), G4ErrorRunManagerHelper::InitializeGeometry(), G4WorkerRunManager::InitializeGeometry(), G4SPSPosDistribution::IsSourceConfined(), G4FastSimulationManager::ListTitle(), G4FastSimHitMaker::make(), GFlashHitMaker::make(), G4UCNBoundaryProcess::PostStepDoIt(), G4MicroElecSurface::PostStepDoIt(), G4OpBoundaryProcess::PostStepDoIt(), G4VTransitionRadiation::PostStepDoIt(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), G4VMultipleScattering::PreparePhysicsTable(), G4ErrorFreeTrajState::PropagateError(), G4RunManager::ReinitializeGeometry(), G4GlobalMagFieldMessenger::SetField(), ExN03DetectorConstruction::SetMagField(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4TrackingMessenger::SetNewValue(), G4IStore::SetParallelWorldVolume(), G4WeightWindowStore::SetParallelWorldVolume(), G4RTPrimaryGeneratorAction::SetUp(), G4IStore::SetWorldVolume(), G4WeightWindowStore::SetWorldVolume(), G4GlobalFastSimulationManager::ShowSetup(), G4ErrorPropagatorManager::StartNavigator(), G4FastSimulationManagerProcess::StartTracking(), G4CoupledTransportation::StartTracking(), G4RunManagerKernel::WorkerDefineWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4TaskRunManager::ConstructScoringWorlds(), G4ToolsSGSceneHandler::EstablishBaseNodes(), G4Qt3DSceneHandler::EstablishG4Qt3DQEntities(), G4TouchableUtils::FindTouchableProperties(), G4ITTransportationManager::Initialize(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
void G4TransportationManager::InactivateAll | ( | ) |
Definition at line 376 of file G4TransportationManager.cc.
References fActiveNavigators, and fNavigators.
Referenced by G4CoupledTransportation::EndTracking().
G4VPhysicalVolume * G4TransportationManager::IsWorldExisting | ( | const G4String & | worldName | ) |
Definition at line 398 of file G4TransportationManager.cc.
References fNavigators, fWorlds, and G4InuclParticleNames::name().
Referenced by G4ParallelGeometriesLimiterProcess::AddParallelWorld(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), GetNavigator(), GetParallelWorld(), G4ParallelGeometriesLimiterProcess::GetParallelWorldIndex(), G4ParallelGeometriesLimiterProcess::RemoveParallelWorld(), G4FastSimulationManagerProcess::SetWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().
G4bool G4TransportationManager::RegisterWorld | ( | G4VPhysicalVolume * | aWorld | ) |
Definition at line 417 of file G4TransportationManager.cc.
References fWorlds.
Referenced by GetParallelWorld(), G4RunManagerKernel::WorkerDefineWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().
void G4TransportationManager::SetFieldManager | ( | G4FieldManager * | newFieldManager | ) |
Definition at line 128 of file G4TransportationManager.cc.
References fFieldManager, and fPropagatorInField.
Referenced by export_G4TransportationManager().
|
static |
Definition at line 493 of file G4TransportationManager.cc.
References fFirstTrackingNavigator.
void G4TransportationManager::SetNavigatorForTracking | ( | G4Navigator * | newNavigator | ) |
Definition at line 147 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, fPropagatorInField, and G4PropagatorInField::SetNavigatorForPropagating().
Referenced by export_G4TransportationManager(), and G4ErrorPropagatorManager::StartNavigator().
|
inline |
Referenced by export_G4TransportationManager().
|
inline |
Referenced by G4RunManagerKernel::DefineWorldVolume(), and G4RunManagerKernel::WorkerDefineWorldVolume().
|
private |
Definition at line 143 of file G4TransportationManager.hh.
Referenced by ActivateNavigator(), ClearNavigators(), ClearParallelWorlds(), DeActivateNavigator(), G4TransportationManager(), InactivateAll(), and SetNavigatorForTracking().
|
private |
Definition at line 149 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), and SetFieldManager().
|
staticprivate |
Definition at line 155 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), GetFirstTrackingNavigator(), and SetFirstTrackingNavigator().
|
private |
Definition at line 150 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), and ~G4TransportationManager().
|
private |
Definition at line 141 of file G4TransportationManager.hh.
Referenced by ActivateNavigator(), ClearNavigators(), ClearParallelWorlds(), DeActivateNavigator(), DeRegisterNavigator(), G4TransportationManager(), GetNavigator(), InactivateAll(), IsWorldExisting(), and SetNavigatorForTracking().
|
private |
Definition at line 148 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), SetFieldManager(), SetNavigatorForTracking(), and ~G4TransportationManager().
|
private |
Definition at line 151 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), and ~G4TransportationManager().
|
staticprivate |
Definition at line 153 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), GetInstanceIfExist(), GetTransportationManager(), and ~G4TransportationManager().
|
private |
Definition at line 145 of file G4TransportationManager.hh.
Referenced by ClearNavigators(), ClearParallelWorlds(), DeRegisterWorld(), G4TransportationManager(), GetNavigator(), IsWorldExisting(), and RegisterWorld().