Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4LogicalVolume.hh>
Static Public Member Functions | |
static const G4LVManager & | GetSubInstanceManager () |
static void | Clean () |
static G4VSolid * | GetSolid (G4LVData &instLVdata) |
static void | SetSolid (G4LVData &instLVdata, G4VSolid *pSolid) |
Definition at line 182 of file G4LogicalVolume.hh.
G4LogicalVolume::G4LogicalVolume | ( | G4VSolid * | pSolid, |
G4Material * | pMaterial, | ||
const G4String & | name, | ||
G4FieldManager * | pFieldMgr = nullptr , |
||
G4VSensitiveDetector * | pSDetector = nullptr , |
||
G4UserLimits * | pULimits = nullptr , |
||
G4bool | optimise = true |
||
) |
Definition at line 68 of file G4LogicalVolume.cc.
|
virtual |
Definition at line 134 of file G4LogicalVolume.cc.
|
delete |
G4LogicalVolume::G4LogicalVolume | ( | __void__ & | ) |
Definition at line 113 of file G4LogicalVolume.cc.
void G4LogicalVolume::AddDaughter | ( | G4VPhysicalVolume * | p | ) |
Definition at line 271 of file G4LogicalVolume.cc.
Referenced by G4PVDivision::G4PVDivision(), G4PVParameterised::G4PVParameterised(), G4PVPlacement::G4PVPlacement(), G4PVReplica::G4PVReplica(), and G4VExternalPhysicalVolume::G4VExternalPhysicalVolume().
void G4LogicalVolume::AssignFieldManager | ( | G4FieldManager * | fldMgr | ) |
Definition at line 230 of file G4LogicalVolume.cc.
Referenced by G4LogicalVolume(), InitialiseWorker(), and SetFieldManager().
Definition at line 649 of file G4LogicalVolume.cc.
|
inline |
|
static |
Definition at line 188 of file G4LogicalVolume.cc.
Referenced by G4LogicalVolumeStore::~G4LogicalVolumeStore().
void G4LogicalVolume::ClearDaughters | ( | ) |
Definition at line 375 of file G4LogicalVolume.cc.
|
inline |
Referenced by ChangeDaughtersType().
|
inline |
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4Region::BelongsTo(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4PVPlacement::CheckOverlaps(), G4NormalNavigation::ComputeSafety(), G4VoxelNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeSafety(), G4ParameterisedNavigation::ComputeSafety(), G4ParameterisedNavigation::ComputeStep(), G4RegularNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4LogicalVolumeModel::DescribeYourselfTo(), G4SmartVoxelHeader::G4SmartVoxelHeader(), G4ParameterisedNavigation::LevelLocate(), G4RegularNavigation::LevelLocate(), G4VoxelSafety::SafetyForVoxelNode(), G4Region::ScanVolumeTree(), SetFieldManager(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4GeomTestVolume::TestOverlapInTree(), G4GeomTestVolume::TestRecursiveOverlap(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
inline |
G4FieldManager * G4LogicalVolume::GetFieldManager | ( | ) | const |
Definition at line 221 of file G4LogicalVolume.cc.
Referenced by AddDaughter(), G4VFieldModel::DescribeYourselfTo(), G4PropagatorInField::FindAndSetFieldManager(), InitialiseWorker(), SetFieldManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
G4double G4LogicalVolume::GetMass | ( | G4bool | forced = false , |
G4bool | propagate = true , |
||
G4Material * | parMaterial = nullptr |
||
) |
Definition at line 552 of file G4LogicalVolume.cc.
Referenced by GetMass(), and G4ASCIITreeSceneHandler::RequestPrimitives().
|
inline |
Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().
G4Material * G4LogicalVolume::GetMaterial | ( | ) | const |
Definition at line 429 of file G4LogicalVolume.cc.
Referenced by G4Track::CalculateVelocityForOpticalPhoton(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4VPVParameterisation::ComputeMaterial(), G4PhysicalVolumeModel::DescribeYourselfTo(), G4tgbGeometryDumper::DumpLogVol(), G4GDMLWriteStructure::ExportEnergyCuts(), G4LogicalCrystalVolume::GetCrystal(), GetMass(), G4LatticeManager::LoadLattice(), G4MicroElecSurface::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), G4LatticeManager::RegisterLattice(), G4PropagatorInField::ReportLoopingParticle(), G4TransportationLogger::ReportLoopingTrack(), G4Region::ScanVolumeTree(), G4ParallelWorldProcess::SwitchMaterial(), and G4GDMLWriteStructure::TraverseVolumeTree().
const G4MaterialCutsCouple * G4LogicalVolume::GetMaterialCutsCouple | ( | ) | const |
Definition at line 478 of file G4LogicalVolume.cc.
Referenced by G4ITTransportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), and G4AdjointForcedInteractionForGamma::PostStepGetPhysicalInteractionLength().
|
inline |
Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), AddDaughter(), G4HepRepSceneHandler::AddSolid(), G4VBiasingOperator::AttachTo(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), checkVol(), G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G3Division::CreatePVReplica(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4Radioactivation::DecayIt(), G4RadioactiveDecay::DecayIt(), G4RadioactiveDecayBase::DecayIt(), G4RunManagerKernel::DefineWorldVolume(), G4RadioactiveDecay::DeselectAVolume(), G4RadioactiveDecayBase::DeselectAVolume(), G4ReflectionFactory::Divide(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLWriteStructure::DivisionvolWrite(), G4TrajectoryDrawByOriginVolume::Draw(), G4tgbVolumeMgr::DumpG4LogVolLeaf(), G4tgbGeometryDumper::DumpLogVol(), G4tgbGeometryDumper::DumpPhysVol(), G4tgbGeometryDumper::DumpPVParameterised(), G4tgbGeometryDumper::DumpPVPlacement(), G4tgbGeometryDumper::DumpPVReplica(), G4TrajectoryOriginVolumeFilter::Evaluate(), G4BuildGeom(), G4PVReplica::G4PVReplica(), G4GDMLRead::GeneratePhysvolName(), G4Navigator::GetLocalExitNormal(), G4ITNavigator1::GetLocalExitNormal(), G4ITNavigator2::GetLocalExitNormal(), G4tgbVolumeMgr::GetTopLogVol(), G4tgbVolumeMgr::GetTopPhysVol(), G4GDMLReadStructure::GetWorldVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4GDMLWriteParamvol::ParamvolAlgorithmWrite(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLReadStructure::PhysvolRead(), G4GDMLWriteStructure::PhysvolWrite(), G4ReflectionFactory::Place(), G4tgbVolumeMgr::RegisterMe(), G4RunManager::ReOptimize(), G4GDMLReadStructure::ReplicaRead(), G4ReflectionFactory::Replicate(), G4GDMLWriteStructure::ReplicavolWrite(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4VoxelSafety::SafetyForVoxelHeader(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4Region::ScanVolumeTree(), G4RadioactiveDecay::SelectAllVolumes(), G4RadioactiveDecayBase::SelectAllVolumes(), G4RadioactiveDecay::SelectAVolume(), G4RadioactiveDecayBase::SelectAVolume(), G4VVisCommandGeometrySet::Set(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VUserDetectorConstruction::SetSensitiveDetector(), G4GDMLWriteSetup::SetupWrite(), G4PolarizationManager::SetVolumePolarization(), G4GDMLWriteStructure::SkinSurfaceCache(), G4GDMLRead::StripNames(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4Region::BelongsTo(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxels(), G4PVPlacement::CheckOverlaps(), G4NormalNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeSafety(), G4VoxelSafety::ComputeSafety(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4PhysicalVolumeModel::DescribeAndDescend(), G4LogicalVolumeModel::DescribeYourselfTo(), G4DrawVoxels::DrawVoxels(), G4PVReplica::G4PVReplica(), G4SmartVoxelHeader::G4SmartVoxelHeader(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4Region::ScanVolumeTree(), SetFieldManager(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4GeomTestVolume::TestOverlapInTree(), G4GeomTestVolume::TestRecursiveOverlap(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
inline |
Referenced by G4Region::BelongsTo(), G4RunManagerKernel::CheckRegions(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G4RunManagerKernel::DefineWorldVolume(), G4VFieldModel::DescribeYourselfTo(), G4GDMLWriteStructure::ExportEnergyCuts(), G4PropagatorInField::FindAndSetFieldManager(), G4NeutrinoElectronProcess::GetMeanFreePath(), G4ElNeutrinoNucleusProcess::GetMeanFreePath(), G4MuNeutrinoNucleusProcess::GetMeanFreePath(), G4VTransitionRadiation::GetMeanFreePath(), G4NeutrinoElectronProcess::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4VTransitionRadiation::PostStepDoIt(), G4LowECapture::PostStepGetPhysicalInteractionLength(), G4GlobalFastSimulationManager::ShowSetup(), G4SteppingManager::Stepping(), G4ParallelWorldProcess::SwitchMaterial(), and G4MSSteppingAction::UserSteppingAction().
G4VSensitiveDetector * G4LogicalVolume::GetSensitiveDetector | ( | ) | const |
Definition at line 459 of file G4LogicalVolume.cc.
Referenced by G4ParallelWorldProcess::AtRestDoIt(), G4ParallelWorldScoringProcess::AtRestDoIt(), G4LogicalVolumeModel::DescribeYourselfTo(), G4GDMLWriteStructure::ExportSD(), G4FastSimHitMaker::make(), GFlashHitMaker::make(), G4ParallelWorldProcess::PostStepDoIt(), G4ParallelWorldScoringProcess::PostStepDoIt(), G4ScoreSplittingProcess::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by G4SmartVoxelHeader::BuildNodes().
G4VSolid * G4LogicalVolume::GetSolid | ( | ) | const |
Definition at line 403 of file G4LogicalVolume.cc.
Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), G4ReplicaNavigation::BackLocate(), G4PhantomParameterisation::BuildContainerSolid(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), G4GeometryWorkspace::CloneParameterisedSolids(), G4GeometryWorkspace::CloneReplicaSolid(), G4NormalNavigation::ComputeSafety(), G4VoxelNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeSafety(), G4ParameterisedNavigation::ComputeSafety(), G4VoxelSafety::ComputeSafety(), G4VNestedParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeSolid(), G4PhantomParameterisation::ComputeSolid(), G4ParameterisedNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), G4ITNavigator2::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), G4tgbVolume::ConstructG4PhysVol(), G4TheRayTracer::CreateBitMap(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G3Division::CreatePVReplica(), G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume(), G4LogicalVolumeModel::DescribeYourselfTo(), G4VFieldModel::DescribeYourselfTo(), G4VisManager::Draw(), G4tgbGeometryDumper::DumpLogVol(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4Navigator::GetGlobalExitNormal(), G4Navigator::GetLocalExitNormal(), G4ITNavigator1::GetLocalExitNormal(), G4ITNavigator2::GetLocalExitNormal(), GetMass(), G4TransportationManager::GetParallelWorld(), G4ITTransportationManager::GetParallelWorld(), GetSolid(), G4BOptnForceCommonTruncatedExp::Initialize(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointAndSetup(), G4GDMLWriteParamvol::ParametersWrite(), G4NeutrinoElectronProcess::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NavigationLogger::PreComputeStepLog(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSVolumeFlux::ProcessHits(), G4ITNavigator2::RecheckDistanceToCurrentBoundary(), G4Navigator::RecheckDistanceToCurrentBoundary(), G4NavigationLogger::ReportOutsideMother(), G4NavigationLogger::ReportVolumeAndIntersection(), G4VoxelSafety::SafetyForVoxelHeader(), G4VoxelSafety::SafetyForVoxelNode(), G4VisCommandsTouchable::SetNewValue(), G4RTPrimaryGeneratorAction::SetUp(), G4GeomTestVolume::TestOverlapInTree(), and G4GDMLWriteStructure::TraverseVolumeTree().
Definition at line 398 of file G4LogicalVolume.cc.
|
static |
Definition at line 212 of file G4LogicalVolume.cc.
Referenced by G4GeometryWorkspace::G4GeometryWorkspace().
|
inline |
|
inline |
|
inline |
Referenced by G4Navigator::ComputeSafety(), G4ITNavigator1::ComputeSafety(), G4ITNavigator2::ComputeSafety(), G4VoxelSafety::ComputeSafety(), G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), G4ITNavigator2::ComputeStep(), G4DrawVoxels::CreatePlacedPolyhedra(), G4LogicalVolumeModel::DescribeYourselfTo(), G4ParameterisedNavigation::LevelLocate(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointWithinVolume(), G4ITNavigator1::LocateGlobalPointWithinVolume(), G4ITNavigator2::LocateGlobalPointWithinVolume(), and G4RunManager::ReOptimize().
void G4LogicalVolume::InitialiseWorker | ( | G4LogicalVolume * | ptrMasterObject, |
G4VSolid * | pSolid, | ||
G4VSensitiveDetector * | pSDetector | ||
) |
Definition at line 154 of file G4LogicalVolume.cc.
Referenced by G4GeometryWorkspace::CloneParameterisedSolids(), G4GeometryWorkspace::CloneReplicaSolid(), and G4GeometryWorkspace::InitialisePhysicalVolumes().
G4bool G4LogicalVolume::IsAncestor | ( | const G4VPhysicalVolume * | p | ) | const |
Definition at line 500 of file G4LogicalVolume.cc.
|
inline |
Referenced by IsAncestor().
|
virtual |
Reimplemented in G4LogicalCrystalVolume.
Definition at line 240 of file G4LogicalVolume.cc.
|
inline |
|
inline |
Referenced by G4PhysicalVolumeModel::CreateCurrentAttValues(), and G4Region::ScanVolumeTree().
|
inline |
|
inline |
|
delete |
G4bool G4LogicalVolume::operator== | ( | const G4LogicalVolume & | lv | ) | const |
|
inline |
Referenced by AddDaughter().
void G4LogicalVolume::RemoveDaughter | ( | const G4VPhysicalVolume * | p | ) |
Definition at line 354 of file G4LogicalVolume.cc.
Referenced by G4PhysicalVolumeStore::DeRegister().
void G4LogicalVolume::ResetMass | ( | ) |
Definition at line 389 of file G4LogicalVolume.cc.
Referenced by SetSolid().
|
inline |
void G4LogicalVolume::SetFieldManager | ( | G4FieldManager * | pFieldMgr, |
G4bool | forceToAllDaughters | ||
) |
Definition at line 250 of file G4LogicalVolume.cc.
Referenced by AddDaughter(), G4VUserDetectorConstruction::CloneF(), G4LogicalVolume(), InitialiseWorker(), SetFieldManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
void G4LogicalVolume::SetMaterial | ( | G4Material * | pMaterial | ) |
Definition at line 438 of file G4LogicalVolume.cc.
Referenced by G4LogicalVolume(), and G4ScoreSplittingProcess::PostStepDoIt().
void G4LogicalVolume::SetMaterialCutsCouple | ( | G4MaterialCutsCouple * | cuts | ) |
Definition at line 487 of file G4LogicalVolume.cc.
|
inline |
Referenced by G4LogicalVolume(), and G4GDMLRead::StripNames().
|
inline |
|
inline |
|
inline |
Referenced by G4Region::AddRootLogicalVolume(), and G4Region::RemoveRootLogicalVolume().
void G4LogicalVolume::SetSensitiveDetector | ( | G4VSensitiveDetector * | pSDetector | ) |
Definition at line 468 of file G4LogicalVolume.cc.
Referenced by G4VUserDetectorConstruction::CloneSD(), G4LogicalVolume(), InitialiseWorker(), G4VUserDetectorConstruction::SetSensitiveDetector(), G4VUserParallelWorld::SetSensitiveDetector(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), and G4VScoringMesh::WorkerConstruct().
|
inline |
Definition at line 419 of file G4LogicalVolume.cc.
void G4LogicalVolume::SetSolid | ( | G4VSolid * | pSolid | ) |
Definition at line 412 of file G4LogicalVolume.cc.
Referenced by G4LogicalVolume(), G4Navigator::GetMotherToDaughterTransform(), G4ITNavigator1::GetMotherToDaughterTransform(), G4ITNavigator2::GetMotherToDaughterTransform(), InitialiseWorker(), G4ParameterisedNavigation::LevelLocate(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointAndSetup(), G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().
|
inline |
Referenced by G4LogicalVolume().
void G4LogicalVolume::SetVisAttributes | ( | const G4VisAttributes & | VA | ) |
Definition at line 634 of file G4LogicalVolume.cc.
|
inline |
|
inline |
Referenced by G4RunManager::ReOptimize().
void G4LogicalVolume::TerminateWorker | ( | G4LogicalVolume * | ptrMasterObject | ) |
Definition at line 201 of file G4LogicalVolume.cc.
Referenced by G4GeometryWorkspace::DestroyWorkspace().
G4int G4LogicalVolume::TotalVolumeEntities | ( | ) | const |
Definition at line 521 of file G4LogicalVolume.cc.
Referenced by TotalVolumeEntities().
void G4LogicalVolume::UpdateMaterial | ( | G4Material * | pMaterial | ) |
Definition at line 448 of file G4LogicalVolume.cc.
Referenced by G4ParameterisedNavigation::LevelLocate(), G4RegularNavigation::LevelLocate(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointAndSetup(), G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().