Geant4
10.03
|
#include <G4TransportationManager.hh>
Static Public Member Functions | |
static G4TransportationManager * | GetTransportationManager () |
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 |
G4PropagatorInField * | fPropagatorInField |
G4FieldManager * | fFieldManager |
G4GeometryMessenger * | fGeomMessenger |
G4SafetyHelper * | fSafetyHelper |
Static Private Attributes | |
static G4ThreadLocal G4TransportationManager * | fTransportationManager =0 |
Definition at line 57 of file G4TransportationManager.hh.
|
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().
|
protected |
Definition at line 82 of file G4TransportationManager.cc.
References ClearNavigators(), fFieldManager, fGeomMessenger, fPropagatorInField, fSafetyHelper, and fTransportationManager.
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(), G4ParallelGeometriesLimiterProcess::StartTracking(), and G4CoupledTransportation::StartTracking().
|
private |
Definition at line 146 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, and fWorlds.
Referenced by ~G4TransportationManager().
void G4TransportationManager::ClearParallelWorlds | ( | ) |
Definition at line 457 of file G4TransportationManager.cc.
References fActiveNavigators, fNavigators, and fWorlds.
Referenced by G4WorkerRunManager::InitializeGeometry(), and G4RunManager::ReinitializeGeometry().
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(), and G4ParallelGeometriesLimiterProcess::EndTracking().
void G4TransportationManager::DeRegisterNavigator | ( | G4Navigator * | aNavigator | ) |
Definition at line 265 of file G4TransportationManager.cc.
References DeRegisterWorld(), FatalException, fNavigators, G4Exception(), G4VPhysicalVolume::GetName(), G4Navigator::GetWorldVolume(), and JustWarning.
|
private |
Definition at line 432 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(), G4PathFinder::PrepareNewTrack(), G4PathFinder::ReLocate(), and G4MultiNavigator::ResetHierarchyAndLocate().
|
inline |
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), CCalDetectorConstruction::Construct(), RE01DetectorConstruction::ConstructSDandField(), RE05DetectorConstruction::ConstructSDandField(), ExUCNDetectorConstruction::ConstructSDandField(), F05DetectorConstruction::ConstructSDandField(), F06DetectorConstruction::ConstructSDandField(), PurgMagDetectorConstruction::ConstructSDandField(), G4MagneticFieldModel::DescribeYourselfTo(), G4ITTransportation::DoesGlobalFieldExist(), export_G4TransportationManager(), G4CoupledTransportation::G4CoupledTransportation(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), ExErrorMagneticField::GetGlobalFieldManager(), ExN02MagneticField::GetGlobalFieldManager(), ExP01MagneticField::GetGlobalFieldManager(), G4MonopoleFieldSetup::GetGlobalFieldManager(), F03FieldSetup::GetGlobalFieldManager(), F02ElectricFieldSetup::GetGlobalFieldManager(), F01FieldSetup::GetGlobalFieldManager(), F04GlobalField::GetGlobalFieldManager(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4MonopoleFieldSetup::InitialiseAll(), F01FieldSetup::InitialiseAll(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), G4ErrorFreeTrajState::PropagateError(), G4GlobalMagFieldMessenger::SetField(), ExN03DetectorConstruction::SetMagField(), and DetectorConstruction::SetMagField().
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().
G4Navigator * G4TransportationManager::GetNavigator | ( | G4VPhysicalVolume * | aWorld | ) |
Definition at line 229 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(), G4MagneticFieldModel::DescribeYourselfTo(), DMXParticleSource::DMXParticleSource(), DMXStackingAction::DMXStackingAction(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4PathFinder::EnableParallelNavigation(), 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().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4ITTransportationManager::Initialize(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().
G4VPhysicalVolume * G4TransportationManager::GetParallelWorld | ( | const G4String & | worldName | ) |
Definition at line 165 of file G4TransportationManager.cc.
References G4VPhysicalVolume::GetLogicalVolume(), GetNavigatorForTracking(), G4LogicalVolume::GetSolid(), G4Navigator::GetWorldVolume(), IsWorldExisting(), and RegisterWorld().
Referenced by G4ParallelWorldPhysics::ConstructProcess(), G4RunManager::ConstructScoringWorlds(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4VUserParallelWorld::GetWorld(), G4WeightCutOffProcess::SetParallelWorld(), G4ImportanceProcess::SetParallelWorld(), G4ParallelWorldScoringProcess::SetParallelWorld(), G4WeightWindowProcess::SetParallelWorld(), G4ParallelWorldProcess::SetParallelWorld(), G4WeightWindowStore::SetParallelWorldVolume(), and G4IStore::SetParallelWorldVolume().
|
inline |
Referenced by G4DecayWithSpin::AtRestDoIt(), G4BlineTracer::ComputeBlines(), CCalDetectorConstruction::Construct(), F04GlobalField::ConstructField(), ExUCNDetectorConstruction::ConstructSDandField(), F05DetectorConstruction::ConstructSDandField(), F06DetectorConstruction::ConstructSDandField(), export_G4TransportationManager(), G4CoupledTransportation::G4CoupledTransportation(), G4ITTransportation::G4ITTransportation(), G4MonopoleTransportation::G4MonopoleTransportation(), G4PathFinder::G4PathFinder(), G4SynchrotronRadiation::G4SynchrotronRadiation(), G4SynchrotronRadiationInMat::G4SynchrotronRadiationInMat(), G4Transportation::G4Transportation(), DetectorConstruction::SetMaxStepLength(), G4TrackingMessenger::SetNewValue(), and G4ErrorPropagatorManager::StartNavigator().
|
inline |
Referenced by G4PathFinder::EnableParallelNavigation(), G4CoupledTransportation::G4CoupledTransportation(), G4MonopoleTransportation::G4MonopoleTransportation(), G4Transportation::G4Transportation(), G4VEnergyLossProcess::G4VEnergyLossProcess(), G4VMscModel::GetParticleChangeForMSC(), G4PathFinder::PrepareNewTrack(), and G4VMultipleScattering::PreparePhysicsTable().
|
static |
Definition at line 100 of file G4TransportationManager.cc.
References fTransportationManager, and G4TransportationManager().
Referenced by G4Scene::AddWorldIfEmpty(), G4RayTrajectory::AppendStep(), G4DecayWithSpin::AtRestDoIt(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4RunManagerKernel::CheckRegions(), G4VPrimaryGenerator::CheckVertexInsideWorld(), HepMCG4Interface::CheckVertexInsideWorld(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4BlineTracer::ComputeBlines(), CCalDetectorConstruction::Construct(), H02DetectorConstruction::Construct(), ExN04DetectorConstruction::Construct(), F04ElementField::Construct(), F04GlobalField::ConstructField(), G4ParallelWorldPhysics::ConstructProcess(), G4MTRunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), RE01DetectorConstruction::ConstructSDandField(), RE05DetectorConstruction::ConstructSDandField(), ExUCNDetectorConstruction::ConstructSDandField(), F05DetectorConstruction::ConstructSDandField(), F06DetectorConstruction::ConstructSDandField(), PurgMagDetectorConstruction::ConstructSDandField(), G4TheRayTracer::CreateBitMap(), G4ScoreSplittingProcess::CreateTouchableForSubStep(), G4RunManagerKernel::DefineWorldVolume(), G4MagneticFieldModel::DescribeYourselfTo(), DMXParticleSource::DMXParticleSource(), DMXStackingAction::DMXStackingAction(), G4ITTransportation::DoesGlobalFieldExist(), G4EventManager::DoProcessing(), G4MaterialScanner::DoScan(), G4TrajectoryDrawByOriginVolume::Draw(), G4DrawVoxels::DrawVoxels(), 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(), G4ParallelGeometriesLimiterProcess::G4ParallelGeometriesLimiterProcess(), 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().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), G4MTRunManager::ConstructScoringWorlds(), G4ITTransportationManager::Initialize(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().
void G4TransportationManager::InactivateAll | ( | ) |
Definition at line 370 of file G4TransportationManager.cc.
References fActiveNavigators, and fNavigators.
Referenced by G4CoupledTransportation::EndTracking().
G4VPhysicalVolume * G4TransportationManager::IsWorldExisting | ( | const G4String & | worldName | ) |
Definition at line 392 of file G4TransportationManager.cc.
References fNavigators, fWorlds, and G4InuclParticleNames::name().
Referenced by G4ParallelGeometriesLimiterProcess::AddParallelWorld(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), GetNavigator(), GetParallelWorld(), G4ParallelGeometriesLimiterProcess::GetParallelWorldIndex(), G4ParallelGeometriesLimiterProcess::RemoveParallelWorld(), G4FastSimulationManagerProcess::SetWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().
G4bool G4TransportationManager::RegisterWorld | ( | G4VPhysicalVolume * | aWorld | ) |
Definition at line 411 of file G4TransportationManager.cc.
References fWorlds.
Referenced by GetParallelWorld(), G4RunManagerKernel::WorkerDefineWorldVolume(), and G4RunManagerKernel::WorkerUpdateWorldVolume().
void G4TransportationManager::SetFieldManager | ( | G4FieldManager * | newFieldManager | ) |
Definition at line 114 of file G4TransportationManager.cc.
References fFieldManager, and fPropagatorInField.
Referenced by export_G4TransportationManager().
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().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::DefineWorldVolume(), and G4RunManagerKernel::WorkerDefineWorldVolume().
|
private |
Definition at line 136 of file G4TransportationManager.hh.
Referenced by ActivateNavigator(), ClearNavigators(), ClearParallelWorlds(), DeActivateNavigator(), G4TransportationManager(), InactivateAll(), and SetNavigatorForTracking().
|
private |
Definition at line 142 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), SetFieldManager(), and ~G4TransportationManager().
|
private |
Definition at line 143 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), and ~G4TransportationManager().
|
private |
Definition at line 134 of file G4TransportationManager.hh.
Referenced by ActivateNavigator(), ClearNavigators(), ClearParallelWorlds(), DeActivateNavigator(), DeRegisterNavigator(), G4TransportationManager(), GetNavigator(), InactivateAll(), IsWorldExisting(), and SetNavigatorForTracking().
|
private |
Definition at line 141 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), SetFieldManager(), SetNavigatorForTracking(), and ~G4TransportationManager().
|
private |
Definition at line 144 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), and ~G4TransportationManager().
|
staticprivate |
Definition at line 146 of file G4TransportationManager.hh.
Referenced by G4TransportationManager(), GetTransportationManager(), and ~G4TransportationManager().
|
private |
Definition at line 138 of file G4TransportationManager.hh.
Referenced by ClearNavigators(), ClearParallelWorlds(), DeRegisterWorld(), G4TransportationManager(), GetNavigator(), IsWorldExisting(), and RegisterWorld().