Geant4  10.03
G4LogicalVolume Class Reference

#include <G4LogicalVolume.hh>

+ Inheritance diagram for G4LogicalVolume:
+ Collaboration diagram for G4LogicalVolume:

Public Member Functions

 G4LogicalVolume (G4VSolid *pSolid, G4Material *pMaterial, const G4String &name, G4FieldManager *pFieldMgr=0, G4VSensitiveDetector *pSDetector=0, G4UserLimits *pULimits=0, G4bool optimise=true)
 
virtual ~G4LogicalVolume ()
 
const G4StringGetName () const
 
void SetName (const G4String &pName)
 
G4int GetNoDaughters () const
 
G4VPhysicalVolumeGetDaughter (const G4int i) const
 
void AddDaughter (G4VPhysicalVolume *p)
 
G4bool IsDaughter (const G4VPhysicalVolume *p) const
 
G4bool IsAncestor (const G4VPhysicalVolume *p) const
 
void RemoveDaughter (const G4VPhysicalVolume *p)
 
void ClearDaughters ()
 
G4int TotalVolumeEntities () const
 
EVolume CharacteriseDaughters () const
 
G4VSolidGetSolid () const
 
void SetSolid (G4VSolid *pSolid)
 
G4MaterialGetMaterial () const
 
void SetMaterial (G4Material *pMaterial)
 
void UpdateMaterial (G4Material *pMaterial)
 
G4double GetMass (G4bool forced=false, G4bool propagate=true, G4Material *parMaterial=0)
 
void ResetMass ()
 
G4FieldManagerGetFieldManager () const
 
void SetFieldManager (G4FieldManager *pFieldMgr, G4bool forceToAllDaughters)
 
G4VSensitiveDetectorGetSensitiveDetector () const
 
void SetSensitiveDetector (G4VSensitiveDetector *pSDetector)
 
G4UserLimitsGetUserLimits () const
 
void SetUserLimits (G4UserLimits *pULimits)
 
G4SmartVoxelHeaderGetVoxelHeader () const
 
void SetVoxelHeader (G4SmartVoxelHeader *pVoxel)
 
G4double GetSmartless () const
 
void SetSmartless (G4double s)
 
G4bool IsToOptimise () const
 
void SetOptimisation (G4bool optim)
 
G4bool IsRootRegion () const
 
void SetRegionRootFlag (G4bool rreg)
 
G4bool IsRegion () const
 
void SetRegion (G4Region *reg)
 
G4RegionGetRegion () const
 
void PropagateRegion ()
 
const G4MaterialCutsCoupleGetMaterialCutsCouple () const
 
void SetMaterialCutsCouple (G4MaterialCutsCouple *cuts)
 
G4bool operator== (const G4LogicalVolume &lv) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *pVA)
 
void SetVisAttributes (const G4VisAttributes &VA)
 
G4FastSimulationManagerGetFastSimulationManager () const
 
void SetBiasWeight (G4double w)
 
G4double GetBiasWeight () const
 
 G4LogicalVolume (__void__ &)
 
virtual G4bool IsExtended () const
 
G4FieldManagerGetMasterFieldManager () const
 
G4VSensitiveDetectorGetMasterSensitiveDetector () const
 
G4VSolidGetMasterSolid () const
 
G4int GetInstanceID () const
 
void Lock ()
 
void InitialiseWorker (G4LogicalVolume *ptrMasterObject, G4VSolid *pSolid, G4VSensitiveDetector *pSDetector)
 
void TerminateWorker (G4LogicalVolume *ptrMasterObject)
 
void AssignFieldManager (G4FieldManager *fldMgr)
 

Static Public Member Functions

static const G4LVManagerGetSubInstanceManager ()
 
static G4VSolidGetSolid (G4LVData &instLVdata)
 
static void SetSolid (G4LVData &instLVdata, G4VSolid *pSolid)
 

Private Types

typedef std::vector
< G4VPhysicalVolume * > 
G4PhysicalVolumeList
 

Private Member Functions

 G4LogicalVolume (const G4LogicalVolume &)
 
G4LogicalVolumeoperator= (const G4LogicalVolume &)
 

Private Attributes

G4PhysicalVolumeList fDaughters
 
G4String fName
 
G4UserLimitsfUserLimits
 
G4SmartVoxelHeaderfVoxel
 
G4bool fOptimise
 
G4bool fRootRegion
 
G4bool fLock
 
G4double fSmartless
 
const G4VisAttributesfVisAttributes
 
G4RegionfRegion
 
G4double fBiasWeight
 
G4int instanceID
 
G4VSolidfSolid
 
G4VSensitiveDetectorfSensitiveDetector
 
G4FieldManagerfFieldManager
 
G4LVDatalvdata
 

Static Private Attributes

static G4GEOM_DLL G4LVManager subInstanceManager
 

Detailed Description

Definition at line 190 of file G4LogicalVolume.hh.

Member Typedef Documentation

Definition at line 192 of file G4LogicalVolume.hh.

Constructor & Destructor Documentation

G4LogicalVolume::G4LogicalVolume ( G4VSolid pSolid,
G4Material pMaterial,
const G4String name,
G4FieldManager pFieldMgr = 0,
G4VSensitiveDetector pSDetector = 0,
G4UserLimits pULimits = 0,
G4bool  optimise = true 
)

Definition at line 77 of file G4LogicalVolume.cc.

References AssignFieldManager(), G4GeomSplitter< T >::CreateSubInstance(), fFieldManager, G4LVData::fMaterial, fSensitiveDetector, G4LVData::fSolid, fSolid, G4MT_ccouple, G4MT_mass, instanceID, lvdata, G4LogicalVolumeStore::Register(), SetMaterial(), SetName(), SetSensitiveDetector(), SetSolid(), SetUserLimits(), and subInstanceManager.

+ Here is the call graph for this function:

G4LogicalVolume::~G4LogicalVolume ( )
virtual

Definition at line 147 of file G4LogicalVolume.cc.

References G4LogicalVolumeStore::DeRegister(), fLock, fRegion, fRootRegion, lvdata, and G4Region::RemoveRootLogicalVolume().

+ Here is the call graph for this function:

G4LogicalVolume::G4LogicalVolume ( __void__ &  )

Definition at line 122 of file G4LogicalVolume.cc.

References G4GeomSplitter< T >::CreateSubInstance(), G4MT_ccouple, G4MT_mass, instanceID, G4LogicalVolumeStore::Register(), SetFieldManager(), SetSensitiveDetector(), and subInstanceManager.

+ Here is the call graph for this function:

G4LogicalVolume::G4LogicalVolume ( const G4LogicalVolume )
private

Member Function Documentation

void G4LogicalVolume::AddDaughter ( G4VPhysicalVolume p)

Definition at line 272 of file G4LogicalVolume.cc.

References FatalException, fDaughters, fRegion, G4endl, G4Exception(), G4MT_fmanager, G4MT_mass, GetFieldManager(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), GetName(), PropagateRegion(), G4Region::RegionModified(), and SetFieldManager().

Referenced by G4ReplicatedSlice::CheckAndSetParameters(), export_G4LogicalVolume(), G4PVDivision::G4PVDivision(), G4PVPlacement::G4PVPlacement(), and G4PVReplica::G4PVReplica().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::AssignFieldManager ( G4FieldManager fldMgr)

Definition at line 230 of file G4LogicalVolume.cc.

References fFieldManager, G4MT_fmanager, and G4Threading::IsMasterThread().

Referenced by G4LogicalVolume(), InitialiseWorker(), and SetFieldManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EVolume G4LogicalVolume::CharacteriseDaughters ( ) const
inline

Referenced by G4Navigator::RecheckDistanceToCurrentBoundary(), and G4ITNavigator2::RecheckDistanceToCurrentBoundary().

+ Here is the caller graph for this function:

void G4LogicalVolume::ClearDaughters ( )

Definition at line 336 of file G4LogicalVolume.cc.

References fDaughters, fRegion, G4MT_mass, and G4Region::RegionModified().

Referenced by export_G4LogicalVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4LogicalVolume::GetBiasWeight ( ) const
inline

Referenced by G4ReflectionFactory::CreateReflectedLV(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

G4FastSimulationManager* G4LogicalVolume::GetFastSimulationManager ( ) const
inline

Referenced by G4FastSimulationManagerProcess::AtRestGetPhysicalInteractionLength(), export_G4LogicalVolume(), GFlashHitMaker::make(), and G4FastSimulationManagerProcess::PostStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

G4FieldManager * G4LogicalVolume::GetFieldManager ( ) const

Definition at line 221 of file G4LogicalVolume.cc.

References G4MT_fmanager.

Referenced by AddDaughter(), G4ReflectionFactory::CreateReflectedLV(), G4MagneticFieldModel::DescribeYourselfTo(), export_G4LogicalVolume(), G4PropagatorInField::FindAndSetFieldManager(), InitialiseWorker(), SetFieldManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the caller graph for this function:

G4int G4LogicalVolume::GetInstanceID ( ) const
inline
G4double G4LogicalVolume::GetMass ( G4bool  forced = false,
G4bool  propagate = true,
G4Material parMaterial = 0 
)

Definition at line 521 of file G4LogicalVolume.cc.

References G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeMaterial(), G4VPVParameterisation::ComputeSolid(), FatalException, fDaughters, fName, G4endl, G4Exception(), G4MT_mass, G4VSolid::GetCubicVolume(), G4Material::GetDensity(), G4VPhysicalVolume::GetLogicalVolume(), GetMass(), GetMaterial(), G4VPhysicalVolume::GetMultiplicity(), G4VPhysicalVolume::GetParameterisation(), and GetSolid().

Referenced by B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), export_G4LogicalVolume(), DetectorConstruction::GetAbsorMass(), GetMass(), and G4ASCIITreeSceneHandler::RequestPrimitives().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4FieldManager* G4LogicalVolume::GetMasterFieldManager ( ) const
inline

Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the caller graph for this function:

G4VSensitiveDetector* G4LogicalVolume::GetMasterSensitiveDetector ( ) const
inline

Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the caller graph for this function:

G4VSolid* G4LogicalVolume::GetMasterSolid ( ) const
inline

Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().

+ Here is the caller graph for this function:

G4Material * G4LogicalVolume::GetMaterial ( ) const

Definition at line 396 of file G4LogicalVolume.cc.

References G4MT_material.

Referenced by CML2ExpVoxels::add(), UltraFresnelLens::BuildLens(), G4Track::CalculateVelocityForOpticalPhoton(), G4AdjointPrimaryGenerator::ComputeAccumulatedDepthVectorAlongBackRay(), G4VPVParameterisation::ComputeMaterial(), CellParameterisation::ComputeMaterial(), G4MIRDLiver::Construct(), G4MIRDLeftScapula::Construct(), G4MIRDRightLegBone::Construct(), G4MIRDRightScapula::Construct(), G4MIRDLeftAdrenal::Construct(), G4MIRDLeftOvary::Construct(), G4MIRDSkull::Construct(), G4MIRDLeftTeste::Construct(), G4MIRDSmallIntestine::Construct(), G4MIRDLeftClavicle::Construct(), G4MIRDLowerLargeIntestine::Construct(), G4MIRDMaleGenitalia::Construct(), G4MIRDThyroid::Construct(), G4MIRDUpperLargeIntestine::Construct(), G4MIRDLeftKidney::Construct(), G4MIRDPelvis::Construct(), G4MIRDLeftLeg::Construct(), G4MIRDRightAdrenal::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDRightClavicle::Construct(), G4MIRDRightKidney::Construct(), G4MIRDRightLeg::Construct(), G4MIRDRightLung::Construct(), G4MIRDUterus::Construct(), G4MIRDRightOvary::Construct(), G4MIRDUpperSpine::Construct(), G4MIRDBrain::Construct(), G4MIRDTrunk::Construct(), G4MIRDSpleen::Construct(), G4MIRDStomach::Construct(), G4MIRDThymus::Construct(), G4MIRDRightTeste::Construct(), G4MIRDLeftBreast::Construct(), G4MIRDMiddleLowerSpine::Construct(), G4MIRDPancreas::Construct(), G4MIRDRibCage::Construct(), G4MIRDHeart::Construct(), G4MIRDRightBreast::Construct(), G4MIRDLeftLung::Construct(), G4MIRDUrinaryBladder::Construct(), G4MIRDLeftArmBone::Construct(), G4MIRDRightArmBone::Construct(), G4MIRDHead::Construct(), CML2PhantomConstruction::createPhysicalVolumeNamesList(), G4ReflectionFactory::CreateReflectedLV(), G4tgbGeometryDumper::DumpLogVol(), export_G4LogicalVolume(), G4GDMLWriteStructure::ExportEnergyCuts(), DetectorConstruction::GetAbsorberMaterial(), G4LogicalCrystalVolume::GetCrystal(), GetMass(), PhysicsList::GetRange(), G4LatticeManager::LoadLattice(), G4Transportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4MonopoleTransportation::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), XrayFluoMercuryDetectorConstruction::PrintApparateParameters(), XrayFluoPlaneDetectorConstruction::PrintApparateParameters(), XrayFluoDetectorConstruction::PrintApparateParameters(), CML2SDWithVoxels::ProcessHits(), G4ErrorFreeTrajState::PropagateErrorIoni(), G4ErrorFreeTrajState::PropagateErrorMSC(), G4LatticeManager::RegisterLattice(), G4ProductionCutsTable::ScanAndSetCouple(), G4Region::ScanVolumeTree(), G4ParallelWorldProcess::SwitchMaterial(), and G4GDMLWriteStructure::TraverseVolumeTree().

const G4MaterialCutsCouple * G4LogicalVolume::GetMaterialCutsCouple ( ) const

Definition at line 445 of file G4LogicalVolume.cc.

References G4MT_ccouple.

Referenced by export_G4LogicalVolume(), PhysicsList::GetRange(), G4Transportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4MonopoleTransportation::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), and G4AdjointForcedInteractionForGamma::PostStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

const G4String& G4LogicalVolume::GetName ( ) const
inline

Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), AddDaughter(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepSceneHandler::AddSolid(), G4VBiasingOperator::AttachTo(), G4SmartVoxelHeader::BuildNodes(), G4GeometryManager::BuildOptimisations(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), checkVol(), G4eplusPolarizedAnnihilation::ComputeSaturationFactor(), G4ePolarizedIonisation::ComputeSaturationFactor(), G4PolarizedCompton::ComputeSaturationFactor(), G3toG4DetectorConstruction::Construct(), FFDetectorConstruction::Construct(), Par02DetectorConstruction::Construct(), G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), CCalG4Ecal::constructGlobal(), CCalG4Hall::constructIn(), CCalG4Hcal::constructIn(), CCalG4Ecal::constructIn(), CCalG4Hcal::constructScintillatorLayer(), GB01DetectorConstruction::ConstructSDandField(), GB02DetectorConstruction::ConstructSDandField(), GB04DetectorConstruction::ConstructSDandField(), RE01CalorimeterHit::CreateAttValues(), B5HodoscopeHit::CreateAttValues(), B5EmCalorimeterHit::CreateAttValues(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G3Division::CreatePVReplica(), G4ReflectionFactory::CreateReflectedLV(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4RadioactiveDecay::DecayIt(), G4RunManagerKernel::DefineWorldVolume(), G4RadioactiveDecay::DeselectAVolume(), G4ReflectionFactory::Divide(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLWriteStructure::DivisionvolWrite(), G4TrajectoryDrawByOriginVolume::Draw(), G4tgbVolumeMgr::DumpG4LogVolLeaf(), G4LogicalSkinSurface::DumpInfo(), G4tgbGeometryDumper::DumpLogVol(), G4tgbGeometryDumper::DumpPhysVol(), G4tgbGeometryDumper::DumpPVParameterised(), G4tgbGeometryDumper::DumpPVPlacement(), G4tgbGeometryDumper::DumpPVReplica(), G4TrajectoryOriginVolumeFilter::Evaluate(), export_G4LogicalVolume(), G4GDMLParser::ExportRegions(), G4BuildGeom(), G4PVReplica::G4PVReplica(), G4GDMLRead::GeneratePhysvolName(), G4HepRepSceneHandler::getGeometryInstance(), G4Navigator::GetLocalExitNormal(), G4ITNavigator1::GetLocalExitNormal(), G4ITNavigator2::GetLocalExitNormal(), G4tgbGeometryDumper::GetPVChildren(), G4tgbVolumeMgr::GetTopLogVol(), G4tgbVolumeMgr::GetTopPhysVol(), G4GDMLReadStructure::GetWorldVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4GDMLWriteParamvol::ParamvolAlgorithmWrite(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLReadStructure::PhysvolRead(), G4GDMLWriteStructure::PhysvolWrite(), G4ReflectionFactory::Place(), G4HumanPhantomSD::ProcessHits(), G4ReflectionFactory::ReflectDaughters(), G4ReflectionFactory::ReflectPVDivision(), G4ReflectionFactory::ReflectPVPlacement(), G4ReflectionFactory::ReflectPVReplica(), G4tgbVolumeMgr::RegisterMe(), CCalSensitiveDetectors::registerVolume(), G4RunManager::ReOptimize(), G4GDMLReadStructure::ReplicaRead(), G4ReflectionFactory::Replicate(), G4GDMLWriteStructure::ReplicavolWrite(), G4ASCIITreeSceneHandler::RequestPrimitives(), G4VoxelSafety::SafetyForVoxelHeader(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4Region::ScanVolumeTree(), G4RadioactiveDecay::SelectAllVolumes(), G4RadioactiveDecay::SelectAVolume(), G4VVisCommandGeometrySet::Set(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), DicomDetectorConstruction::SetScorer(), CCalSensitiveDetectors::setSensitive(), G4VUserDetectorConstruction::SetSensitiveDetector(), G4GDMLWriteSetup::SetupWrite(), CCalG4Able::setVisType(), G4PolarizationManager::SetVolumePolarization(), G4GDMLWriteStructure::SkinSurfaceCache(), G4GDMLRead::StripNames(), and G4GDMLWriteStructure::TraverseVolumeTree().

G4double G4LogicalVolume::GetSmartless ( ) const
inline

Referenced by G4SmartVoxelHeader::BuildNodes(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

G4VSolid * G4LogicalVolume::GetSolid ( ) const

Definition at line 364 of file G4LogicalVolume.cc.

References instanceID, G4GeomSplitter< T >::offset, and subInstanceManager.

Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), XrayFluoAnalysisManager::analyseStepping(), G4ReplicaNavigation::BackLocate(), G4PhantomParameterisation::BuildContainerSolid(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVDivision::CheckAndSetParameters(), G4ReplicatedSlice::CheckAndSetParameters(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), G4GeometryWorkspace::CloneParameterisedSolids(), G4GeometryWorkspace::CloneReplicaSolid(), ExExChProcessChanneling::ComputePositionInTheCrystal(), G4VoxelSafety::ComputeSafety(), G4ParameterisedNavigation::ComputeSafety(), G4NormalNavigation::ComputeSafety(), G4VoxelNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeSafety(), G4PhantomParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeSolid(), G4VNestedParameterisation::ComputeSolid(), G4ParameterisedNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4Navigator::ComputeStep(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), G4ITNavigator1::ComputeStep(), G4ITNavigator2::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), G4PSDoseDeposit::ComputeVolume(), G4PSPassageCellFlux::ComputeVolume(), G4PSCellFlux::ComputeVolume(), G4DrawVoxels::ComputeVoxelPolyhedra(), GB06ParallelWorldForSlices::Construct(), G4MIRDLiver::Construct(), G4MIRDLeftClavicle::Construct(), G4MIRDRightScapula::Construct(), G4MIRDLeftTeste::Construct(), G4MIRDSkull::Construct(), G4MIRDLowerLargeIntestine::Construct(), G4MIRDSmallIntestine::Construct(), G4MIRDMaleGenitalia::Construct(), G4MIRDThyroid::Construct(), G4MIRDLeftAdrenal::Construct(), G4MIRDUpperLargeIntestine::Construct(), G4MIRDLeftKidney::Construct(), G4MIRDPelvis::Construct(), G4MIRDLeftLeg::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDRightAdrenal::Construct(), G4MIRDRightClavicle::Construct(), G4MIRDRightKidney::Construct(), G4MIRDLeftOvary::Construct(), G4MIRDRightLeg::Construct(), G4MIRDLeftScapula::Construct(), G4MIRDRightLegBone::Construct(), G4MIRDRightOvary::Construct(), G4MIRDRightTeste::Construct(), G4MIRDHeart::Construct(), G4MIRDLeftBreast::Construct(), G4MIRDSpleen::Construct(), G4MIRDStomach::Construct(), G4MIRDThymus::Construct(), G4MIRDMiddleLowerSpine::Construct(), G4MIRDTrunk::Construct(), G4MIRDPancreas::Construct(), G4MIRDUpperSpine::Construct(), G4MIRDUterus::Construct(), G4MIRDRibCage::Construct(), G4MIRDBrain::Construct(), G4MIRDRightBreast::Construct(), G4MIRDLeftLung::Construct(), G4MIRDRightLung::Construct(), G4MIRDHead::Construct(), G4MIRDUrinaryBladder::Construct(), G4MIRDLeftArmBone::Construct(), G4MIRDRightArmBone::Construct(), G4tgbVolume::ConstructG4PhysVol(), G4TheRayTracer::CreateBitMap(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G3Division::CreatePVReplica(), G4ReflectionFactory::CreateReflectedLV(), G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume(), G4VisManager::Draw(), G4tgbGeometryDumper::DumpLogVol(), F04SimpleSolenoid::F04SimpleSolenoid(), G4FastTrack::FRecordsAffineTransformation(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), B2PrimaryGeneratorAction::GeneratePrimaries(), B1PrimaryGeneratorAction::GeneratePrimaries(), G4HepRepSceneHandler::getGeometryInstance(), G4Navigator::GetGlobalExitNormal(), G4Navigator::GetLocalExitNormal(), G4ITNavigator1::GetLocalExitNormal(), G4ITNavigator2::GetLocalExitNormal(), G4VIntersectionLocator::GetLocalSurfaceNormal(), GetMass(), FFPrimaryGeneratorAction::GetNeutronSourceCenter(), G4ITTransportationManager::GetParallelWorld(), G4TransportationManager::GetParallelWorld(), G4BOptnForceCommonTruncatedExp::Initialize(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4GDMLWriteParamvol::ParametersWrite(), G4VXTRenergyLoss::PostStepDoIt(), G4NavigationLogger::PreComputeStepLog(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), CexmcSetup::ReadCalorimeterGeometryData(), G4Navigator::RecheckDistanceToCurrentBoundary(), G4ITNavigator2::RecheckDistanceToCurrentBoundary(), G4NavigationLogger::ReportOutsideMother(), G4NavigationLogger::ReportVolumeAndIntersection(), G4VoxelSafety::SafetyForVoxelHeader(), G4VoxelSafety::SafetyForVoxelNode(), G4PVDivision::SetParameterisation(), G4ReplicatedSlice::SetParameterisation(), G4RTPrimaryGeneratorAction::SetUp(), CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::SetupConstructionHook(), and G4GDMLWriteStructure::TraverseVolumeTree().

G4VSolid * G4LogicalVolume::GetSolid ( G4LVData instLVdata)
static

Definition at line 359 of file G4LogicalVolume.cc.

References G4LVData::fSolid.

const G4LVManager & G4LogicalVolume::GetSubInstanceManager ( )
static

Definition at line 212 of file G4LogicalVolume.cc.

References subInstanceManager.

Referenced by G4GeometryWorkspace::G4GeometryWorkspace().

+ Here is the caller graph for this function:

void G4LogicalVolume::InitialiseWorker ( G4LogicalVolume ptrMasterObject,
G4VSolid pSolid,
G4VSensitiveDetector pSDetector 
)

Definition at line 168 of file G4LogicalVolume.cc.

References AssignFieldManager(), fFieldManager, GetFieldManager(), SetFieldManager(), SetSensitiveDetector(), SetSolid(), G4GeomSplitter< T >::SlaveCopySubInstanceArray(), and subInstanceManager.

Referenced by G4GeometryWorkspace::CloneParameterisedSolids(), G4GeometryWorkspace::CloneReplicaSolid(), and G4GeometryWorkspace::InitialisePhysicalVolumes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4LogicalVolume::IsAncestor ( const G4VPhysicalVolume p) const

Definition at line 467 of file G4LogicalVolume.cc.

References fDaughters, and IsDaughter().

Referenced by export_G4LogicalVolume(), G4WeightWindowStore::IsInWorld(), and G4IStore::IsInWorld().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4LogicalVolume::IsDaughter ( const G4VPhysicalVolume p) const
inline

Referenced by export_G4LogicalVolume(), and IsAncestor().

+ Here is the caller graph for this function:

G4bool G4LogicalVolume::IsExtended ( ) const
virtual

Reimplemented in G4LogicalCrystalVolume.

Definition at line 240 of file G4LogicalVolume.cc.

G4bool G4LogicalVolume::IsRegion ( ) const
inline

Referenced by G4ReflectionFactory::CreateReflectedLV(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

G4bool G4LogicalVolume::IsRootRegion ( ) const
inline
G4bool G4LogicalVolume::IsToOptimise ( ) const
inline

Referenced by G4GeometryManager::BuildOptimisations(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::Lock ( )
inline
G4LogicalVolume& G4LogicalVolume::operator= ( const G4LogicalVolume )
private
G4bool G4LogicalVolume::operator== ( const G4LogicalVolume lv) const
void G4LogicalVolume::PropagateRegion ( )
inline

Referenced by AddDaughter(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::RemoveDaughter ( const G4VPhysicalVolume p)

Definition at line 314 of file G4LogicalVolume.cc.

References fDaughters, fRegion, G4MT_mass, and G4Region::RegionModified().

Referenced by G4PhysicalVolumeStore::DeRegister(), export_G4LogicalVolume(), GB03DetectorConstruction::SetNumberOfLayers(), and RE06DetectorConstruction::SetNumberOfLayers().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::ResetMass ( )

Definition at line 350 of file G4LogicalVolume.cc.

References G4MT_mass.

Referenced by SetSolid().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetBiasWeight ( G4double  w)
inline

Referenced by export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetFieldManager ( G4FieldManager pFieldMgr,
G4bool  forceToAllDaughters 
)

Definition at line 250 of file G4LogicalVolume.cc.

References AssignFieldManager(), GetDaughter(), GetFieldManager(), G4VPhysicalVolume::GetLogicalVolume(), GetNoDaughters(), and SetFieldManager().

Referenced by AddDaughter(), G4VUserDetectorConstruction::CloneF(), B5DetectorConstruction::ConstructSDandField(), F03DetectorConstruction::ConstructSDandField(), export_G4LogicalVolume(), G4LogicalVolume(), InitialiseWorker(), SetFieldManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::SetMaterial ( G4Material pMaterial)

Definition at line 405 of file G4LogicalVolume.cc.

References G4MT_mass, and G4MT_material.

Referenced by Par01ParallelWorldForPion::Construct(), export_G4LogicalVolume(), G4LogicalVolume(), G4ScoreSplittingProcess::PostStepDoIt(), DetectorConstruction::SetAbsMaterial(), GB03DetectorConstruction::SetAbsorberMaterial(), RE06DetectorConstruction::SetAbsorberMaterial(), DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberMaterial(), F01DetectorConstruction::SetAbsorberMaterial(), F02DetectorConstruction::SetAbsorberMaterial(), DetectorConstruction::SetAbsorMaterial(), ExG4DetectorConstruction02::SetBoxMaterial(), B2bDetectorConstruction::SetChamberMaterial(), ExN02DetectorConstruction::setChamberMaterial(), ExP01DetectorConstruction::SetChamberMaterial(), DetectorConstruction::SetContainerMaterial(), DetectorConstruction::SetContainMaterial(), GammaRayTelDetectorConstruction::SetConverterMaterial(), DetectorConstruction::SetDetectorMaterial(), DetectorConstruction::SetEcalMaterial(), GB03DetectorConstruction::SetGapMaterial(), RE06DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGasMaterial(), DetectorConstruction::SetMaterial(), ExG4DetectorConstruction01::SetMaterial(), XrayFluoMercuryDetectorConstruction::SetMercuryMaterial(), XrayFluoPlaneDetectorConstruction::SetPlaneMaterial(), ElectronBenchmarkDetector::SetPrimFoilMaterial(), XrayFluoDetectorConstruction::SetSampleMaterial(), DetectorConstruction::SetTarget1Material(), DetectorConstruction::SetTarget2Material(), B2bDetectorConstruction::SetTargetMaterial(), B2aDetectorConstruction::SetTargetMaterial(), DetectorConstruction::SetTargetMaterial(), ExP01DetectorConstruction::SetTargetMaterial(), ExN02DetectorConstruction::setTargetMaterial(), ExG4DetectorConstruction02::SetWorldMaterial(), DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldMaterial(), F02DetectorConstruction::SetWorldMaterial(), F01DetectorConstruction::SetWorldMaterial(), and ExExChDetectorConstruction::SetXtalMaterial().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetMaterialCutsCouple ( G4MaterialCutsCouple cuts)

Definition at line 454 of file G4LogicalVolume.cc.

References G4MT_ccouple.

Referenced by export_G4LogicalVolume(), and G4ProductionCutsTable::ScanAndSetCouple().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetName ( const G4String pName)
inline

Referenced by export_G4LogicalVolume(), G4LogicalVolume(), and G4GDMLRead::StripNames().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetOptimisation ( G4bool  optim)
inline

Referenced by export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetRegionRootFlag ( G4bool  rreg)
inline

Referenced by G4Region::AddRootLogicalVolume(), export_G4LogicalVolume(), and G4Region::RemoveRootLogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetSensitiveDetector ( G4VSensitiveDetector pSDetector)

Definition at line 435 of file G4LogicalVolume.cc.

References fSensitiveDetector, G4MT_sdetector, and G4Threading::IsMasterThread().

Referenced by ExN04CalorimeterROGeometry::Build(), CML2ReadOutGeometry::Build(), G4VUserDetectorConstruction::CloneSD(), ExN04DetectorConstruction::Construct(), DetectorWatase86::Construct(), DetectorBarr90::Construct(), DetectorHarris73::Construct(), DetectorSimpleALICE::Construct(), DetectorBari05::Construct(), DetectorALICE06::Construct(), FCALHadModule::Construct(), FCALEMModule::Construct(), eRositaDetectorConstruction::Construct(), ExExChDetectorConstruction::Construct(), ExN02DetectorConstruction::Construct(), ExP01DetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), Par01DetectorConstruction::ConstructSDandField(), G04DetectorConstruction::ConstructSDandField(), GB05DetectorConstruction::ConstructSDandField(), ExGflashDetectorConstruction::ConstructSDandField(), GB06DetectorConstruction::ConstructSDandField(), B5DetectorConstruction::ConstructSDandField(), RE02DetectorConstruction::ConstructSDandField(), RMC01DetectorConstruction::ConstructSimpleGeometry(), export_G4LogicalVolume(), G4LogicalVolume(), InitialiseWorker(), CCalSensitiveDetectors::setSensitive(), G4VUserParallelWorld::SetSensitiveDetector(), G4VUserDetectorConstruction::SetSensitiveDetector(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), and G4VScoringMesh::WorkerConstruct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::SetSmartless ( G4double  s)
inline

Referenced by FCALEMModule::Construct(), FCALHadModule::Construct(), DicomPartialDetectorConstruction::ConstructPhantom(), and export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetSolid ( G4VSolid pSolid)

Definition at line 375 of file G4LogicalVolume.cc.

References G4MT_solid, and ResetMass().

Referenced by G4LogicalVolume(), G4Navigator::GetMotherToDaughterTransform(), G4ITNavigator1::GetMotherToDaughterTransform(), G4ITNavigator2::GetMotherToDaughterTransform(), InitialiseWorker(), G4ParameterisedNavigation::LevelLocate(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::SetSolid ( G4LVData instLVdata,
G4VSolid pSolid 
)
static

Definition at line 384 of file G4LogicalVolume.cc.

References G4LVData::fMass, and G4LVData::fSolid.

void G4LogicalVolume::SetVisAttributes ( const G4VisAttributes pVA)
inline

Referenced by DetectorConstruction::AtomisticView(), DetectorConstruction::BarycenterView(), CML2Acc1::BeWindow(), UltraFresnelLens::BuildLens(), HadrontherapyModulator::BuildSteps(), DicomPhantomParameterisationColour::ComputeMaterial(), CellParameterisation::ComputeMaterial(), ExN04DetectorConstruction::Construct(), G4MIRDLiver::Construct(), G4MIRDLeftOvary::Construct(), G4MIRDLeftScapula::Construct(), G4MIRDLeftTeste::Construct(), G4MIRDMaleGenitalia::Construct(), G4MIRDLowerLargeIntestine::Construct(), G4MIRDRightAdrenal::Construct(), G4MIRDPelvis::Construct(), B03DetectorConstruction::Construct(), G4MIRDRightClavicle::Construct(), G4MIRDRightKidney::Construct(), G4MIRDRightLeg::Construct(), G4MIRDRightLegBone::Construct(), G4MIRDRightScapula::Construct(), G4MIRDLeftAdrenal::Construct(), G4MIRDLeftClavicle::Construct(), G4MIRDSkull::Construct(), G4MIRDSmallIntestine::Construct(), G4MIRDLeftKidney::Construct(), G4MIRDLeftLeg::Construct(), G4MIRDThyroid::Construct(), Par01DetectorConstruction::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDUpperLargeIntestine::Construct(), RE01DetectorConstruction::Construct(), G4MIRDMiddleLowerSpine::Construct(), G4MIRDPancreas::Construct(), G4MIRDRibCage::Construct(), G4MIRDBrain::Construct(), G4MIRDHeart::Construct(), G4MIRDRightBreast::Construct(), G4MIRDRightLung::Construct(), G4MIRDRightOvary::Construct(), G4MIRDRightTeste::Construct(), G4MIRDLeftBreast::Construct(), G4MIRDSpleen::Construct(), G4MIRDStomach::Construct(), G4MIRDThymus::Construct(), G4MIRDTrunk::Construct(), G4MIRDUpperSpine::Construct(), G4MIRDLeftLung::Construct(), RE05DetectorConstruction::Construct(), G4MIRDUterus::Construct(), G4MIRDUrinaryBladder::Construct(), G4MIRDRightArmBone::Construct(), B01DetectorConstruction::Construct(), B02DetectorConstruction::Construct(), G4MIRDHead::Construct(), GeometryConstruction::Construct(), G4MIRDLeftArmBone::Construct(), ExGflashDetectorConstruction::Construct(), B3DetectorConstruction::Construct(), FCALCryostatVolumes::Construct(), FCALEMModule::Construct(), FCALHadModule::Construct(), eRositaDetectorConstruction::Construct(), ExUCNDetectorConstruction::Construct(), B5DetectorConstruction::Construct(), FCALTestbeamSetup::Construct(), ExP01DetectorConstruction::Construct(), ExN02DetectorConstruction::Construct(), G02DetectorConstruction::Construct(), ExErrorDetectorConstruction::Construct(), UltraDetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), DMXDetectorConstruction::Construct(), RE02DetectorConstruction::Construct(), XrayFluoMercuryDetectorConstruction::ConstructApparate(), XrayFluoPlaneDetectorConstruction::ConstructApparate(), XrayFluoDetectorConstruction::ConstructApparate(), ExExChDetectorConstruction::ConstructBeamPipe(), DetectorConstruction::ConstructCalorimeter(), ExN03DetectorConstruction::ConstructCalorimeter(), PurgMagDetectorConstruction::ConstructCalorimeter(), DetectorConstruction::ConstructDetector(), LXeDetectorConstruction::ConstructDetector(), G4tgbVolume::ConstructG4LogVol(), UltraDetectorConstruction::ConstructGround(), DetectorConstruction::ConstructLine(), UltraDetectorConstruction::ConstructMirror(), GammaRayTelDetectorConstruction::ConstructPayload(), DicomNestedParamDetectorConstruction::ConstructPhantom(), DicomPartialDetectorConstruction::ConstructPhantom(), DicomRegularDetectorConstruction::ConstructPhantom(), ExExChDetectorConstruction::ConstructSiSD(), XrayTelDetectorConstruction::ConstructTelescope(), UltraDetectorConstruction::ConstructUVscope(), G4HumanPhantomConstruction::ConstructWorld(), DetectorConstruction::ConstructWorld(), TSDetectorConstruction::ConstructWorld(), CML2WorldConstruction::create(), ElectronBenchmarkDetector::CreateExitWindow(), ElectronBenchmarkDetector::CreateHeliumBag(), ElectronBenchmarkDetector::CreateMonitor(), ElectronBenchmarkDetector::CreatePrimaryFoil(), G4ReflectionFactory::CreateReflectedLV(), ElectronBenchmarkDetector::CreateScorer(), ElectronBenchmarkDetector::CreateWorld(), B2aDetectorConstruction::DefineVolumes(), B2bDetectorConstruction::DefineVolumes(), DetectorConstruction::DrawBoundingVolume(), F04ElementField::F04ElementField(), LaserDrivenBeamLine::FaradayCup(), CML2Acc1::flatteningFilter(), G4BuildGeom(), G4GDMLReadStructure::GetWorldVolume(), CML2Acc1::ionizationChamber(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), DetectorConstruction::ResiduesView(), F04ElementField::SetColor(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandGeometryRestore::SetNewValue(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), XDetectorConstruction::SetupGeometry(), RE03DetectorConstruction::SetupGeometry(), RE04DetectorConstruction::SetupGeometry(), GB03DetectorConstruction::SetupGeometry(), RE06DetectorConstruction::SetupGeometry(), CCalG4Able::setVisType(), G3toG4DetectorConstruction::SimpleConstruct(), CML2Acc1::target(), LXeMainVolume::VisAttributes(), and G03ColorReader::VolumeRead().

void G4LogicalVolume::SetVisAttributes ( const G4VisAttributes VA)

Definition at line 608 of file G4LogicalVolume.cc.

References fVisAttributes.

void G4LogicalVolume::SetVoxelHeader ( G4SmartVoxelHeader pVoxel)
inline

Referenced by G4GeometryManager::BuildOptimisations(), G4GeometryManager::DeleteOptimisations(), export_G4LogicalVolume(), and G4RunManager::ReOptimize().

+ Here is the caller graph for this function:

void G4LogicalVolume::TerminateWorker ( G4LogicalVolume ptrMasterObject)

Definition at line 202 of file G4LogicalVolume.cc.

Referenced by G4GeometryWorkspace::DestroyWorkspace().

+ Here is the caller graph for this function:

G4int G4LogicalVolume::TotalVolumeEntities ( ) const

Definition at line 489 of file G4LogicalVolume.cc.

References fDaughters, G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetMultiplicity(), and TotalVolumeEntities().

Referenced by export_G4LogicalVolume(), and TotalVolumeEntities().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::UpdateMaterial ( G4Material pMaterial)

Definition at line 415 of file G4LogicalVolume.cc.

References G4Region::FindCouple(), fRegion, G4MT_ccouple, G4MT_mass, and G4MT_material.

Referenced by export_G4LogicalVolume(), G4RegularNavigation::LevelLocate(), G4ParameterisedNavigation::LevelLocate(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4LogicalVolume::fBiasWeight
private

Definition at line 424 of file G4LogicalVolume.hh.

G4PhysicalVolumeList G4LogicalVolume::fDaughters
private
G4FieldManager* G4LogicalVolume::fFieldManager
private

Definition at line 438 of file G4LogicalVolume.hh.

Referenced by AssignFieldManager(), G4LogicalVolume(), and InitialiseWorker().

G4bool G4LogicalVolume::fLock
private

Definition at line 415 of file G4LogicalVolume.hh.

Referenced by ~G4LogicalVolume().

G4String G4LogicalVolume::fName
private

Definition at line 403 of file G4LogicalVolume.hh.

Referenced by GetMass().

G4bool G4LogicalVolume::fOptimise
private

Definition at line 411 of file G4LogicalVolume.hh.

G4Region* G4LogicalVolume::fRegion
private
G4bool G4LogicalVolume::fRootRegion
private

Definition at line 413 of file G4LogicalVolume.hh.

Referenced by ~G4LogicalVolume().

G4VSensitiveDetector* G4LogicalVolume::fSensitiveDetector
private

Definition at line 437 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume(), and SetSensitiveDetector().

G4double G4LogicalVolume::fSmartless
private

Definition at line 417 of file G4LogicalVolume.hh.

G4VSolid* G4LogicalVolume::fSolid
private

Definition at line 436 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume().

G4UserLimits* G4LogicalVolume::fUserLimits
private

Definition at line 407 of file G4LogicalVolume.hh.

const G4VisAttributes* G4LogicalVolume::fVisAttributes
private

Definition at line 420 of file G4LogicalVolume.hh.

Referenced by SetVisAttributes().

G4SmartVoxelHeader* G4LogicalVolume::fVoxel
private

Definition at line 409 of file G4LogicalVolume.hh.

G4int G4LogicalVolume::instanceID
private

Definition at line 427 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume(), and GetSolid().

G4LVData* G4LogicalVolume::lvdata
private

Definition at line 439 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume(), and ~G4LogicalVolume().

G4LVManager G4LogicalVolume::subInstanceManager
staticprivate

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