Geant4
10.03
|
#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 99 of file G4Region.hh.
|
private |
Definition at line 104 of file G4Region.hh.
|
private |
Definition at line 103 of file G4Region.hh.
|
private |
Definition at line 102 of file G4Region.hh.
|
private |
Definition at line 101 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 290 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(), DetectorBarr90::Construct(), DetectorHarris73::Construct(), DetectorWatase86::Construct(), DetectorSimpleALICE::Construct(), DetectorALICE06::Construct(), DetectorBari05::Construct(), ExGflashDetectorConstruction::Construct(), CML2Ph_FullWater::Construct(), CML2Ph_BoxInBox::Construct(), DetectorConstruction::ConstructDetector(), G4RunManagerKernel::DefineWorldVolume(), export_G4Region(), CML2Acc1::flatteningFilter(), G4GDMLParser::ImportRegions(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc1::Jaw1Y(), CML2Acc1::Jaw2X(), CML2Acc1::Jaw2Y(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), G4ReflectionFactory::ReflectLV(), RE06DetectorConstruction::SetupGeometry(), CexmcSetup::SetupSpecialVolumes(), and CML2Acc1::target().
G4bool G4Region::BelongsTo | ( | G4VPhysicalVolume * | thePhys | ) | const |
Definition at line 398 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 418 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 349 of file G4Region.cc.
References fMaterials.
Referenced by export_G4Region(), and UpdateMaterialList().
|
inline |
Referenced by export_G4Region(), G4PAIPhotModel::Initialise(), G4PAIModel::Initialise(), and G4LogicalVolume::UpdateMaterial().
G4FastSimulationManager * G4Region::GetFastSimulationManager | ( | ) | const |
Definition at line 137 of file G4Region.cc.
References G4MT_fsmanager.
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 453 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(), G4GDMLWriteStructure::ExportEnergyCuts(), G4EmCalculator::FindCouple(), G4VUserPhysicsList::GetCutValue(), G4VAtomDeexcitation::InitialiseAtomicDeexcitation(), G4ProductionCutsTable::IsCoupleUsedInTheRegion(), G4VUserPhysicsList::SetParticleCuts(), and G4ParallelWorldProcess::SwitchMaterial().
G4UserSteppingAction * G4Region::GetRegionalSteppingAction | ( | ) | const |
Definition at line 155 of file G4Region.cc.
References G4MT_rsaction.
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 |
Referenced by G4LogicalVolume::AddDaughter(), G4LogicalVolume::ClearDaughters(), export_G4Region(), and G4LogicalVolume::RemoveDaughter().
|
inline |
void G4Region::RemoveRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | scan = true |
||
) |
Definition at line 319 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 169 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().
void G4Region::SetFastSimulationManager | ( | G4FastSimulationManager * | fsm | ) |
Definition at line 128 of file G4Region.cc.
References G4MT_fsmanager.
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(), G4GDMLParser::ImportRegions(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc1::Jaw1Y(), CML2Acc1::Jaw2X(), CML2Acc1::Jaw2Y(), CML2Acc1::mirror(), CML2Acc1::MLC(), CML2Acc1::primaryCollimator(), HadrontherapyPhysicsList::SetCuts(), G4VUserPhysicsList::SetParticleCuts(), CexmcSetup::SetupSpecialVolumes(), and CML2Acc1::target().
void G4Region::SetRegionalSteppingAction | ( | G4UserSteppingAction * | rusa | ) |
Definition at line 146 of file G4Region.cc.
References G4MT_rsaction.
Referenced by G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by RE01DetectorConstruction::Construct(), and export_G4Region().
|
inline |
Referenced by export_G4Region(), and G4GDMLParser::ImportRegions().
void G4Region::SetWorld | ( | G4VPhysicalVolume * | wp | ) |
Definition at line 382 of file G4Region.cc.
References BelongsTo(), fWorldPhys, and wp.
Referenced by G4RunManagerKernel::CheckRegions(), and export_G4Region().
void G4Region::UpdateMaterialList | ( | ) |
Definition at line 360 of file G4Region.cc.
References ClearMaterialList(), fRootVolumes, and ScanVolumeTree().
Referenced by export_G4Region(), and RemoveRootLogicalVolume().
|
inline |
|
inline |
|
private |
Definition at line 255 of file G4Region.hh.
|
private |
Definition at line 259 of file G4Region.hh.
|
private |
Definition at line 263 of file G4Region.hh.
Referenced by ScanVolumeTree().
|
private |
Definition at line 264 of file G4Region.hh.
|
private |
Definition at line 252 of file G4Region.hh.
|
private |
Definition at line 251 of file G4Region.hh.
Referenced by ClearMaterialList().
|
private |
Definition at line 248 of file G4Region.hh.
Referenced by ClearFastSimulationManager().
|
private |
Definition at line 254 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), and RemoveRootLogicalVolume().
|
private |
Definition at line 250 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), RemoveRootLogicalVolume(), and UpdateMaterialList().
|
private |
Definition at line 257 of file G4Region.hh.
Referenced by ~G4Region().
|
private |
Definition at line 258 of file G4Region.hh.
|
private |
Definition at line 261 of file G4Region.hh.
Referenced by SetWorld().
|
private |
Definition at line 266 of file G4Region.hh.
Referenced by G4Region().
|
staticprivate |
Definition at line 268 of file G4Region.hh.
Referenced by G4Region(), and GetSubInstanceManager().