Geant4
10.01.p02
|
#include <G4Region.hh>
Static Public Member Functions | |
static const G4RegionManager & | GetSubInstanceManager () |
Private Types | |
typedef std::vector < G4LogicalVolume * > | G4RootLVList |
typedef std::vector< G4Material * > | G4MaterialList |
typedef std::pair< G4Material *, G4MaterialCutsCouple * > | G4MaterialCouplePair |
typedef std::map< G4Material *, G4MaterialCutsCouple * > | G4MaterialCoupleMap |
Private Member Functions | |
G4Region (const G4Region &) | |
G4Region & | operator= (const G4Region &) |
void | AddMaterial (G4Material *aMaterial) |
Static Private Attributes | |
static G4GEOM_DLL G4RegionManager | subInstanceManager |
Definition at line 105 of file G4Region.hh.
|
private |
Definition at line 110 of file G4Region.hh.
|
private |
Definition at line 109 of file G4Region.hh.
|
private |
Definition at line 108 of file G4Region.hh.
|
private |
Definition at line 107 of file G4Region.hh.
G4Region::G4Region | ( | const G4String & | name | ) |
Definition at line 68 of file G4Region.cc.
References G4GeomSplitter< T >::CreateSubInstance(), G4endl, G4Exception(), G4MT_fsmanager, G4MT_rsaction, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), instanceID, JustWarning, G4RegionStore::Register(), and subInstanceManager.
|
virtual |
Definition at line 118 of file G4Region.cc.
References G4RegionStore::DeRegister(), fUserInfo, and G4RegionStore::GetInstance().
G4Region::G4Region | ( | __void__ & | ) |
Definition at line 99 of file G4Region.cc.
References G4GeomSplitter< T >::CreateSubInstance(), G4MT_fsmanager, G4MT_rsaction, G4RegionStore::GetInstance(), instanceID, G4RegionStore::Register(), and subInstanceManager.
|
private |
|
inlineprivate |
void G4Region::AddRootLogicalVolume | ( | G4LogicalVolume * | lv | ) |
Definition at line 254 of file G4Region.cc.
References fRegionMod, fRootVolumes, pos, ScanVolumeTree(), and G4LogicalVolume::SetRegionRootFlag().
Referenced by CML2Acc1::BeWindow(), ExTGRCRegionCutsMgr::BuildRegions(), G4RunManagerKernel::CheckRegions(), Par01ParallelWorldForPion::Construct(), Par01DetectorConstruction::Construct(), RE01DetectorConstruction::Construct(), ExGflashDetectorConstruction::Construct(), exrdmDetectorConstruction::Construct(), CML2Ph_FullWater::Construct(), CML2Ph_BoxInBox::Construct(), DetectorConstruction::ConstructDetector(), G4RunManagerKernel::DefineWorldVolume(), export_G4Region(), CML2Acc1::flatteningFilter(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc1::Jaw1Y(), CML2Acc1::Jaw2X(), CML2Acc1::Jaw2Y(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), G4ReflectionFactory::ReflectLV(), Em10DetectorConstruction::SetUpALICE06(), Em10DetectorConstruction::SetUpBari05(), Em10DetectorConstruction::SetUpBarr90(), RE06DetectorConstruction::SetupGeometry(), Em10DetectorConstruction::SetUpHarris73(), CexmcSetup::SetupSpecialVolumes(), Em10DetectorConstruction::SetUpWatase86(), Em10DetectorConstruction::SimpleSetUpALICE(), and CML2Acc1::target().
G4bool G4Region::BelongsTo | ( | G4VPhysicalVolume * | thePhys | ) | const |
Definition at line 362 of file G4Region.cc.
References G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), and G4LogicalVolume::GetRegion().
Referenced by G4RunManagerKernel::CheckRegions(), export_G4Region(), and SetWorld().
void G4Region::ClearFastSimulationManager | ( | ) |
Definition at line 382 of file G4Region.cc.
References fName, G4endl, G4Exception(), G4MT_fsmanager, GetFastSimulationManager(), GetParentRegion(), and JustWarning.
Referenced by export_G4Region(), and G4FastSimulationManager::~G4FastSimulationManager().
|
inline |
void G4Region::ClearMaterialList | ( | ) |
Definition at line 313 of file G4Region.cc.
References fMaterials.
Referenced by export_G4Region(), and UpdateMaterialList().
|
inline |
Referenced by export_G4Region(), G4PAIPhotModel::Initialise(), G4PAIPhotonModel::Initialise(), and G4PAIModel::Initialise().
|
inline |
Referenced by ClearFastSimulationManager(), G4GlobalFastSimulationManager::DisplayRegion(), G4RunManagerKernel::DumpRegion(), export_G4Region(), G4VFastSimulationModel::G4VFastSimulationModel(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), and G4FastSimulationManager::~G4FastSimulationManager().
|
inline |
Referenced by G4MagneticFieldModel::DescribeYourselfTo(), and G4PropagatorInField::FindAndSetFieldManager().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and G4ProductionCutsTable::IsCoupleUsedInTheRegion().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4RunManagerKernel::CheckRegions(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G4RunManagerKernel::DefineWorldVolume(), G4GlobalFastSimulationManager::DisplayRegion(), G4EmModelManager::DumpModelList(), G4RunManagerKernel::DumpRegion(), RE06RunAction::EndOfRunAction(), export_G4Region(), G4EmCalculator::FindCouple(), G4PAIPhotModel::Initialise(), G4EmBiasingManager::Initialise(), G4PAIModel::Initialise(), G4EmModelManager::Initialise(), G4FastSimulationManager::ListTitle(), G4VEnergyLossProcess::PreparePhysicsTable(), G4EmConfigurator::SetModelForRegion(), and G4GlobalFastSimulationManager::ShowSetup().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), export_G4Region(), and G4ProductionCutsTable::IsCoupleUsedInTheRegion().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), export_G4Region(), and G4RunManagerKernel::SetupDefaultRegion().
Definition at line 417 of file G4Region.cc.
References G4LogicalVolumeStore::GetInstance().
Referenced by ClearFastSimulationManager(), and export_G4Region().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), Par01DetectorConstruction::Construct(), G4RunManagerKernel::DumpRegion(), RE06RunAction::EndOfRunAction(), export_G4Region(), G4EmCalculator::FindCouple(), G4VUserPhysicsList::GetCutValue(), G4VAtomDeexcitation::InitialiseAtomicDeexcitation(), G4ProductionCutsTable::IsCoupleUsedInTheRegion(), G4VUserPhysicsList::SetParticleCuts(), and G4ParallelWorldProcess::SwitchMaterial().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), G4SteppingManager::Stepping(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and G4RunManagerKernel::SetupDefaultRegion().
|
static |
Definition at line 58 of file G4Region.cc.
References subInstanceManager.
Referenced by G4GeometryWorkspace::G4GeometryWorkspace().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), export_G4Region(), and RE01SteppingAction::UserSteppingAction().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and export_G4Region().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), export_G4Region(), and G4FastSimulationManager::ListTitle().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), and G4RunManagerKernel::DumpRegion().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), and G4RunManagerKernel::DumpRegion().
|
inline |
|
inline |
|
inline |
void G4Region::RemoveRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | scan = true |
||
) |
Definition at line 283 of file G4Region.cc.
References fRegionMod, fRootVolumes, pos, G4LogicalVolume::SetRegionRootFlag(), and UpdateMaterialList().
Referenced by export_G4Region(), G4RunManagerKernel::SetupDefaultRegion(), XrayFluoDetectorConstruction::UpdateGeometry(), and G4LogicalVolume::~G4LogicalVolume().
void G4Region::ScanVolumeTree | ( | G4LogicalVolume * | lv, |
G4bool | region | ||
) |
Definition at line 133 of file G4Region.cc.
References AddMaterial(), G4VPVParameterisation::ComputeMaterial(), FatalException, fInMassGeometry, G4endl, G4Exception(), G4Material::GetBaseMaterial(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VVolumeMaterialScanner::GetMaterial(), G4LogicalVolume::GetMaterial(), G4VPVParameterisation::GetMaterialScanner(), G4VPhysicalVolume::GetMultiplicity(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VVolumeMaterialScanner::GetNumberOfMaterials(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::IsParameterised(), G4LogicalVolume::IsRootRegion(), and G4LogicalVolume::SetRegion().
Referenced by AddRootLogicalVolume(), export_G4Region(), and UpdateMaterialList().
|
inline |
Referenced by export_G4Region(), G4FastSimulationManager::G4FastSimulationManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
|
inline |
|
inline |
Referenced by CML2Acc1::BeWindow(), ExTGRCRegionCutsMgr::BuildProductionCuts(), G4RunManagerKernel::CheckRegions(), Par01DetectorConstruction::Construct(), CML2Ph_FullWater::Construct(), CML2Ph_BoxInBox::Construct(), DetectorConstruction::ConstructDetector(), G4RunManagerKernel::DumpRegion(), export_G4Region(), CML2Acc1::flatteningFilter(), G4RunManagerKernel::G4RunManagerKernel(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc1::Jaw1Y(), CML2Acc1::Jaw2X(), CML2Acc1::Jaw2Y(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), HadrontherapyPhysicsList::SetCuts(), ExGflashPhysicsList::SetCuts(), exrdmPhysicsList::SetCuts(), Em10PhysicsList::SetCuts(), G4VUserPhysicsList::SetParticleCuts(), GammaRayTelPhysicsList::SetRegionCut(), CexmcSetup::SetupSpecialVolumes(), and CML2Acc1::target().
|
inline |
Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by RE01DetectorConstruction::Construct(), and export_G4Region().
|
inline |
void G4Region::SetWorld | ( | G4VPhysicalVolume * | wp | ) |
Definition at line 346 of file G4Region.cc.
References BelongsTo(), fWorldPhys, and wp.
Referenced by G4RunManagerKernel::CheckRegions(), and export_G4Region().
void G4Region::UpdateMaterialList | ( | ) |
Definition at line 324 of file G4Region.cc.
References ClearMaterialList(), fRootVolumes, and ScanVolumeTree().
Referenced by export_G4Region(), and RemoveRootLogicalVolume().
|
inline |
|
inline |
|
private |
Definition at line 261 of file G4Region.hh.
|
private |
Definition at line 265 of file G4Region.hh.
|
private |
Definition at line 269 of file G4Region.hh.
Referenced by ScanVolumeTree().
|
private |
Definition at line 270 of file G4Region.hh.
|
private |
Definition at line 258 of file G4Region.hh.
|
private |
Definition at line 257 of file G4Region.hh.
Referenced by ClearMaterialList().
|
private |
Definition at line 254 of file G4Region.hh.
Referenced by ClearFastSimulationManager().
|
private |
Definition at line 260 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), and RemoveRootLogicalVolume().
|
private |
Definition at line 256 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), RemoveRootLogicalVolume(), and UpdateMaterialList().
|
private |
Definition at line 263 of file G4Region.hh.
Referenced by ~G4Region().
|
private |
Definition at line 264 of file G4Region.hh.
|
private |
Definition at line 267 of file G4Region.hh.
Referenced by SetWorld().
|
private |
Definition at line 272 of file G4Region.hh.
Referenced by G4Region().
|
staticprivate |
Definition at line 274 of file G4Region.hh.
Referenced by G4Region(), and GetSubInstanceManager().