Geant4  10.00.p03
G4LogicalVolume Class Reference

#include <G4LogicalVolume.hh>

+ 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)
 
 ~G4LogicalVolume ()
 
G4String GetName () 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__ &)
 
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
 
G4bool fChangedState
 
G4int instanceID
 
G4VSolidfSolid
 
G4VSensitiveDetectorfSensitiveDetector
 
G4FieldManagerfFieldManager
 

Static Private Attributes

static G4GEOM_DLL G4LVManager subInstanceManager
 

Detailed Description

Definition at line 187 of file G4LogicalVolume.hh.

Member Typedef Documentation

Definition at line 189 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 138 of file G4LogicalVolume.cc.

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

+ Here is the call graph for this function:

G4LogicalVolume::~G4LogicalVolume ( )

Definition at line 206 of file G4LogicalVolume.cc.

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

+ Here is the call graph for this function:

G4LogicalVolume::G4LogicalVolume ( __void__ &  )

Definition at line 177 of file G4LogicalVolume.cc.

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

+ Here is the call graph for this function:

G4LogicalVolume::G4LogicalVolume ( const G4LogicalVolume )
private

Member Function Documentation

void G4LogicalVolume::AddDaughter ( G4VPhysicalVolume p)
inline

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

+ Here is the caller graph for this function:

void G4LogicalVolume::AssignFieldManager ( G4FieldManager fldMgr)
inline

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

+ Here is the caller graph for this function:

EVolume G4LogicalVolume::CharacteriseDaughters ( ) const
inline
void G4LogicalVolume::ClearDaughters ( )
inline

Referenced by export_G4LogicalVolume().

+ 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
inline

Referenced by 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 301 of file G4LogicalVolume.cc.

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

Referenced by B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), export_G4LogicalVolume(), 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
inline

Referenced by CML2ExpVoxels::add(), UltraFresnelLens::BuildLens(), G4Track::CalculateVelocityForOpticalPhoton(), 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(), G4MIRDRightClavicle::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDRightKidney::Construct(), G4MIRDRightLeg::Construct(), G4MIRDRightLung::Construct(), G4MIRDUpperSpine::Construct(), G4MIRDRightOvary::Construct(), G4MIRDTrunk::Construct(), G4MIRDBrain::Construct(), G4MIRDRightTeste::Construct(), G4MIRDSpleen::Construct(), G4MIRDStomach::Construct(), G4MIRDThymus::Construct(), G4MIRDLeftLung::Construct(), G4MIRDLeftBreast::Construct(), G4MIRDMiddleLowerSpine::Construct(), G4MIRDPancreas::Construct(), G4MIRDUterus::Construct(), G4MIRDRibCage::Construct(), G4MIRDHeart::Construct(), G4MIRDRightBreast::Construct(), G4MIRDUrinaryBladder::Construct(), G4MIRDRightArmBone::Construct(), G4MIRDHead::Construct(), G4MIRDLeftArmBone::Construct(), CML2PhantomConstruction::createPhysicalVolumeNamesList(), G4ReflectionFactory::CreateReflectedLV(), G4tgbGeometryDumper::DumpLogVol(), export_G4LogicalVolume(), 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(), G4GDMLWriteStructure::TraverseVolumeTree(), and SteppingAction::UserSteppingAction().

const G4MaterialCutsCouple* G4LogicalVolume::GetMaterialCutsCouple ( ) const
inline

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

+ Here is the caller graph for this function:

G4String G4LogicalVolume::GetName ( ) const
inline

Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4HepRepSceneHandler::AddSolid(), G4VBiasingOperator::AttachTo(), G4SmartVoxelHeader::BuildNodes(), G4GeometryManager::BuildOptimisations(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), checkVol(), GB01DetectorConstruction::Construct(), G3toG4DetectorConstruction::Construct(), G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), CCalG4Ecal::constructGlobal(), CCalG4Hall::constructIn(), CCalG4Hcal::constructIn(), CCalG4Ecal::constructIn(), CCalG4Hcal::constructScintillatorLayer(), GB02DetectorConstruction::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(), G4BuildGeom(), G4PVReplica::G4PVReplica(), G4GDMLRead::GeneratePhysvolName(), G4HepRepSceneHandler::getGeometryInstance(), G4Navigator::GetLocalExitNormal(), G4ITNavigator::GetLocalExitNormal(), G4eplusPolarizedAnnihilation::GetMeanFreePath(), G4PolarizedCompton::GetMeanFreePath(), G4tgbGeometryDumper::GetPVChildren(), G4tgbVolumeMgr::GetTopLogVol(), G4tgbVolumeMgr::GetTopPhysVol(), G4GDMLReadStructure::GetWorldVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4GDMLWriteParamvol::ParamvolAlgorithmWrite(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLWriteParamvol::ParamvolWrite(), G4GDMLReadStructure::PhysvolRead(), G4GDMLWriteStructure::PhysvolWrite(), G4ReflectionFactory::Place(), G4eplusPolarizedAnnihilation::PostStepGetPhysicalInteractionLength(), G4PolarizedCompton::PostStepGetPhysicalInteractionLength(), 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(), G4Region::ScanVolumeTree(), G4RadioactiveDecay::SelectAllVolumes(), G4RadioactiveDecay::SelectAVolume(), G4VVisCommandGeometrySet::Set(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), DicomDetectorConstruction::SetScorer(), CCalSensitiveDetectors::setSensitive(), 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
inline

Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), G4HepRepFileSceneHandler::AddHepRepInstance(), G4GMocrenFileSceneHandler::AddPrimitive(), G4ReplicaNavigation::BackLocate(), G4PhantomParameterisation::BuildContainerSolid(), G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildReplicaVoxels(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4PVDivision::CheckAndSetParameters(), G4ReplicatedSlice::CheckAndSetParameters(), G4PVParameterised::CheckOverlaps(), G4PVPlacement::CheckOverlaps(), G4GeometryWorkspace::CloneParameterisedSolids(), G4GeometryWorkspace::CloneReplicaSolid(), 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(), G4ITNavigator::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), G4PSDoseDeposit::ComputeVolume(), G4PSPassageCellFlux::ComputeVolume(), G4PSCellFlux::ComputeVolume(), G4DrawVoxels::ComputeVoxelPolyhedra(), G4MIRDLiver::Construct(), G4MIRDLeftClavicle::Construct(), G4MIRDLeftTeste::Construct(), G4MIRDRightScapula::Construct(), G4MIRDLeftAdrenal::Construct(), G4MIRDSkull::Construct(), G4MIRDLowerLargeIntestine::Construct(), G4MIRDSmallIntestine::Construct(), G4MIRDMaleGenitalia::Construct(), G4MIRDThyroid::Construct(), G4MIRDLeftKidney::Construct(), G4MIRDUpperLargeIntestine::Construct(), G4MIRDLeftLeg::Construct(), G4MIRDPelvis::Construct(), G4MIRDRightAdrenal::Construct(), G4MIRDLeftLegBone::Construct(), G4MIRDRightClavicle::Construct(), G4MIRDLeftOvary::Construct(), G4MIRDRightKidney::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(), G4MIRDRightArmBone::Construct(), G4MIRDLeftArmBone::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(), B4PrimaryGeneratorAction::GeneratePrimaries(), B1PrimaryGeneratorAction::GeneratePrimaries(), G4HepRepSceneHandler::getGeometryInstance(), G4Navigator::GetLocalExitNormal(), G4ITNavigator::GetLocalExitNormal(), G4VIntersectionLocator::GetLocalSurfaceNormal(), GetMass(), G4TransportationManager::GetParallelWorld(), G4BOptnForceCommonTruncatedExp::Initialize(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator::LocateGlobalPointAndSetup(), G4GDMLWriteParamvol::ParametersWrite(), G4VXTRenergyLoss::PostStepDoIt(), G4NavigationLogger::PreComputeStepLog(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), CexmcSetup::ReadCalorimeterGeometryData(), G4VoxelSafety::SafetyForVoxelHeader(), G4VoxelSafety::SafetyForVoxelNode(), G4PVDivision::SetParameterisation(), G4ReplicatedSlice::SetParameterisation(), G4RTPrimaryGeneratorAction::SetUp(), CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::SetupConstructionHook(), and G4GDMLWriteStructure::TraverseVolumeTree().

static G4VSolid* G4LogicalVolume::GetSolid ( G4LVData instLVdata)
inlinestatic
const G4LVManager & G4LogicalVolume::GetSubInstanceManager ( )
static

Definition at line 127 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 83 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 247 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::IsRegion ( ) const
inline

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

+ Here is the caller graph for this function:

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 export_G4LogicalVolume().

+ Here is the caller graph for this function:

void G4LogicalVolume::RemoveDaughter ( const G4VPhysicalVolume p)
inline

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

+ Here is the caller graph for this function:

void G4LogicalVolume::ResetMass ( )
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 220 of file G4LogicalVolume.cc.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LogicalVolume::SetMaterial ( G4Material pMaterial)
inline

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

+ Here is the caller graph for this function:

void G4LogicalVolume::SetMaterialCutsCouple ( G4MaterialCutsCouple cuts)
inline

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(), G4Region::RemoveRootLogicalVolume(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().

+ Here is the caller graph for this function:

void G4LogicalVolume::SetSensitiveDetector ( G4VSensitiveDetector pSDetector)
inline

Referenced by ExN04CalorimeterROGeometry::Build(), GammaRayTelTrackerROGeometry::Build(), CML2ReadOutGeometry::Build(), G4VUserDetectorConstruction::CloneSD(), ExN04DetectorConstruction::Construct(), FCALEMModule::Construct(), FCALHadModule::Construct(), eRositaDetectorConstruction::Construct(), ExN02DetectorConstruction::Construct(), ExP01DetectorConstruction::Construct(), FCALTestbeamSetup::Construct(), DMXDetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), XrayFluoMercuryDetectorConstruction::ConstructApparate(), XrayFluoPlaneDetectorConstruction::ConstructApparate(), XrayFluoDetectorConstruction::ConstructApparate(), GammaRayTelDetectorConstruction::ConstructPayload(), Par01DetectorConstruction::ConstructSDandField(), ExGflashDetectorConstruction::ConstructSDandField(), B5DetectorConstruction::ConstructSDandField(), RE02DetectorConstruction::ConstructSDandField(), RMC01DetectorConstruction::ConstructSimpleGeometry(), G4LogicalVolume(), InitialiseWorker(), main(), CCalSensitiveDetectors::setSensitive(), G4VUserParallelWorld::SetSensitiveDetector(), G4VUserDetectorConstruction::SetSensitiveDetector(), Em10DetectorConstruction::SetUpALICE06(), Em10DetectorConstruction::SetUpBari05(), Em10DetectorConstruction::SetUpBarr90(), XDetectorConstruction::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), Em10DetectorConstruction::SetUpHarris73(), Em10DetectorConstruction::SetUpWatase86(), Em10DetectorConstruction::SimpleSetUpALICE(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), and G4VScoringMesh::WorkerConstruct().

+ 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)
inline
static void G4LogicalVolume::SetSolid ( G4LVData instLVdata,
G4VSolid pSolid 
)
inlinestatic
void G4LogicalVolume::SetVisAttributes ( const G4VisAttributes pVA)
inline

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

void G4LogicalVolume::SetVisAttributes ( const G4VisAttributes VA)

Definition at line 388 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 117 of file G4LogicalVolume.cc.

Referenced by G4GeometryWorkspace::DestroyWorkspace().

+ Here is the caller graph for this function:

G4int G4LogicalVolume::TotalVolumeEntities ( ) const

Definition at line 269 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)
inline

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

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4LogicalVolume::fBiasWeight
private

Definition at line 417 of file G4LogicalVolume.hh.

G4bool G4LogicalVolume::fChangedState
private

Definition at line 420 of file G4LogicalVolume.hh.

G4PhysicalVolumeList G4LogicalVolume::fDaughters
private

Definition at line 394 of file G4LogicalVolume.hh.

Referenced by GetMass(), IsAncestor(), and TotalVolumeEntities().

G4FieldManager* G4LogicalVolume::fFieldManager
private

Definition at line 434 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume(), and InitialiseWorker().

G4bool G4LogicalVolume::fLock
private

Definition at line 408 of file G4LogicalVolume.hh.

Referenced by ~G4LogicalVolume().

G4String G4LogicalVolume::fName
private

Definition at line 396 of file G4LogicalVolume.hh.

Referenced by GetMass().

G4bool G4LogicalVolume::fOptimise
private

Definition at line 404 of file G4LogicalVolume.hh.

G4Region* G4LogicalVolume::fRegion
private

Definition at line 415 of file G4LogicalVolume.hh.

Referenced by ~G4LogicalVolume().

G4bool G4LogicalVolume::fRootRegion
private

Definition at line 406 of file G4LogicalVolume.hh.

Referenced by ~G4LogicalVolume().

G4VSensitiveDetector* G4LogicalVolume::fSensitiveDetector
private

Definition at line 433 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume().

G4double G4LogicalVolume::fSmartless
private

Definition at line 410 of file G4LogicalVolume.hh.

G4VSolid* G4LogicalVolume::fSolid
private

Definition at line 432 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume().

G4UserLimits* G4LogicalVolume::fUserLimits
private

Definition at line 400 of file G4LogicalVolume.hh.

const G4VisAttributes* G4LogicalVolume::fVisAttributes
private

Definition at line 413 of file G4LogicalVolume.hh.

Referenced by SetVisAttributes().

G4SmartVoxelHeader* G4LogicalVolume::fVoxel
private

Definition at line 402 of file G4LogicalVolume.hh.

G4int G4LogicalVolume::instanceID
private

Definition at line 423 of file G4LogicalVolume.hh.

Referenced by G4LogicalVolume().

G4LVManager G4LogicalVolume::subInstanceManager
staticprivate

Definition at line 425 of file G4LogicalVolume.hh.

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


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