Geant4-11
|
#include <G4Region.hh>
Static Public Member Functions | |
static void | Clean () |
static const G4RegionManager & | GetSubInstanceManager () |
Private Types | |
using | G4MaterialCoupleMap = std::map< G4Material *, G4MaterialCutsCouple * > |
using | G4MaterialCouplePair = std::pair< G4Material *, G4MaterialCutsCouple * > |
using | G4MaterialList = std::vector< G4Material * > |
using | G4RootLVList = std::vector< G4LogicalVolume * > |
Private Member Functions | |
void | AddMaterial (G4Material *aMaterial) |
Private Attributes | |
G4ProductionCuts * | fCut = nullptr |
G4FieldManager * | fFieldManager = nullptr |
G4bool | fInMassGeometry = false |
G4bool | fInParallelGeometry = false |
G4MaterialCoupleMap | fMaterialCoupleMap |
G4MaterialList | fMaterials |
G4String | fName |
G4bool | fRegionMod = true |
G4RootLVList | fRootVolumes |
G4VUserRegionInformation * | fUserInfo = nullptr |
G4UserLimits * | fUserLimits = nullptr |
G4VPhysicalVolume * | fWorldPhys = nullptr |
G4int | instanceID |
Static Private Attributes | |
static G4GEOM_DLL G4RegionManager | subInstanceManager |
Definition at line 95 of file G4Region.hh.
|
private |
Definition at line 249 of file G4Region.hh.
|
private |
Definition at line 248 of file G4Region.hh.
|
private |
Definition at line 247 of file G4Region.hh.
|
private |
Definition at line 246 of file G4Region.hh.
G4Region::G4Region | ( | const G4String & | name | ) |
Definition at line 65 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 111 of file G4Region.cc.
References G4RegionStore::DeRegister(), fUserInfo, and G4RegionStore::GetInstance().
|
delete |
G4Region::G4Region | ( | __void__ & | ) |
Definition at line 94 of file G4Region.cc.
References G4GeomSplitter< T >::CreateSubInstance(), G4MT_fsmanager, G4MT_rsaction, G4RegionStore::GetInstance(), instanceID, G4RegionStore::Register(), and subInstanceManager.
|
inlineprivate |
Referenced by ScanVolumeTree().
void G4Region::AddRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | search = true |
||
) |
Definition at line 293 of file G4Region.cc.
References fRegionMod, fRootVolumes, pos, ScanVolumeTree(), and G4LogicalVolume::SetRegionRootFlag().
Referenced by G4RunManagerKernel::CheckRegions(), G4RunManagerKernel::DefineWorldVolume(), export_G4Region(), G4GDMLParser::ImportRegions(), and G4ReflectionFactory::ReflectLV().
G4bool G4Region::BelongsTo | ( | G4VPhysicalVolume * | thePhys | ) | const |
Definition at line 414 of file G4Region.cc.
References BelongsTo(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), and G4LogicalVolume::GetRegion().
Referenced by BelongsTo(), G4RunManagerKernel::CheckRegions(), export_G4Region(), and SetWorld().
|
static |
Definition at line 356 of file G4Region.cc.
References G4GeomSplitter< T >::FreeSlave(), and subInstanceManager.
Referenced by G4RegionStore::~G4RegionStore().
void G4Region::ClearFastSimulationManager | ( | ) |
Definition at line 434 of file G4Region.cc.
References fName, G4endl, G4Exception(), G4MT_fsmanager, GetFastSimulationManager(), GetParentRegion(), and JustWarning.
Referenced by export_G4Region(), and G4FastSimulationManager::~G4FastSimulationManager().
|
inline |
Referenced by export_G4Region().
void G4Region::ClearMaterialList | ( | ) |
Definition at line 366 of file G4Region.cc.
References fMaterials.
Referenced by export_G4Region(), and UpdateMaterialList().
|
inline |
Referenced by export_G4Region(), and G4LogicalVolume::UpdateMaterial().
G4FastSimulationManager * G4Region::GetFastSimulationManager | ( | ) | const |
Definition at line 140 of file G4Region.cc.
References G4MT_fsmanager.
Referenced by ClearFastSimulationManager(), G4GlobalFastSimulationManager::DisplayRegion(), G4RunManagerKernel::DumpRegion(), export_G4Region(), G4VFastSimulationModel::G4VFastSimulationModel(), and G4FastSimulationManager::~G4FastSimulationManager().
|
inline |
Referenced by G4VFieldModel::DescribeYourselfTo(), and G4PropagatorInField::FindAndSetFieldManager().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and G4ProductionCutsTable::IsCoupleUsedInTheRegion().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddHepRepInstance(), G4RunManagerKernel::CheckRegions(), G4PhysicalVolumeModel::CreateCurrentAttValues(), G4RunManagerKernel::DefineWorldVolume(), G4RegionStore::DeRegister(), G4GlobalFastSimulationManager::DisplayRegion(), G4RunManagerKernel::DumpRegion(), export_G4Region(), G4EmCalculator::FindCouple(), G4NeutrinoElectronProcess::GetMeanFreePath(), G4ElNeutrinoNucleusProcess::GetMeanFreePath(), G4MuNeutrinoNucleusProcess::GetMeanFreePath(), G4EmBiasingManager::Initialise(), G4PAIModel::Initialise(), G4PAIPhotModel::Initialise(), G4EmModelManager::Initialise(), G4FastSimulationManager::ListTitle(), G4NeutrinoElectronProcess::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4VEnergyLossProcess::PreparePhysicsTable(), G4RegionStore::Register(), and G4GlobalFastSimulationManager::ShowSetup().
|
inline |
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), export_G4Region(), and G4RunManagerKernel::SetupDefaultRegion().
Definition at line 469 of file G4Region.cc.
References G4LogicalVolumeStore::GetInstance().
Referenced by ClearFastSimulationManager(), and export_G4Region().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), G4RunManagerKernel::DumpRegion(), export_G4Region(), G4GDMLWriteStructure::ExportEnergyCuts(), G4EmCalculator::FindCouple(), G4VUserPhysicsList::GetCutValue(), G4ProductionCutsTable::IsCoupleUsedInTheRegion(), G4VUserPhysicsList::SetParticleCuts(), and G4ParallelWorldProcess::SwitchMaterial().
G4UserSteppingAction * G4Region::GetRegionalSteppingAction | ( | ) | const |
Definition at line 158 of file G4Region.cc.
References G4MT_rsaction.
Referenced by G4RunManagerKernel::DumpRegion(), and G4SteppingManager::Stepping().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and G4RunManagerKernel::SetupDefaultRegion().
|
static |
Definition at line 55 of file G4Region.cc.
References subInstanceManager.
Referenced by G4GeometryWorkspace::G4GeometryWorkspace().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and export_G4Region().
|
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 |
Referenced by export_G4Region().
|
inline |
|
inline |
Referenced by export_G4Region().
void G4Region::RemoveRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | scan = true |
||
) |
Definition at line 328 of file G4Region.cc.
References fRegionMod, fRootVolumes, pos, G4LogicalVolume::SetRegionRootFlag(), and UpdateMaterialList().
Referenced by export_G4Region(), G4RunManagerKernel::SetupDefaultRegion(), and G4LogicalVolume::~G4LogicalVolume().
void G4Region::ScanVolumeTree | ( | G4LogicalVolume * | lv, |
G4bool | region | ||
) |
Definition at line 172 of file G4Region.cc.
References AddMaterial(), G4VPVParameterisation::ComputeMaterial(), FatalException, fInMassGeometry, G4endl, G4Exception(), G4Material::GetBaseMaterial(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4VVolumeMaterialScanner::GetMaterial(), G4VPVParameterisation::GetMaterialScanner(), G4VPhysicalVolume::GetMultiplicity(), G4LogicalVolume::GetName(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VVolumeMaterialScanner::GetNumberOfMaterials(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::IsParameterised(), G4LogicalVolume::IsRootRegion(), ScanVolumeTree(), and G4LogicalVolume::SetRegion().
Referenced by AddRootLogicalVolume(), export_G4Region(), ScanVolumeTree(), and UpdateMaterialList().
void G4Region::SetFastSimulationManager | ( | G4FastSimulationManager * | fsm | ) |
Definition at line 131 of file G4Region.cc.
References G4MT_fsmanager.
Referenced by export_G4Region(), and G4FastSimulationManager::G4FastSimulationManager().
|
inline |
void G4Region::SetName | ( | const G4String & | name | ) |
Definition at line 121 of file G4Region.cc.
References fName, G4RegionStore::GetInstance(), and G4RegionStore::SetMapValid().
Referenced by export_G4Region().
|
inline |
void G4Region::SetRegionalSteppingAction | ( | G4UserSteppingAction * | rusa | ) |
Definition at line 149 of file G4Region.cc.
References G4MT_rsaction.
|
inline |
Referenced by export_G4Region().
|
inline |
Referenced by export_G4Region(), and G4GDMLParser::ImportRegions().
void G4Region::SetWorld | ( | G4VPhysicalVolume * | wp | ) |
Definition at line 398 of file G4Region.cc.
References BelongsTo(), fWorldPhys, and G4InuclParticleNames::wp.
Referenced by G4RunManagerKernel::CheckRegions(), and export_G4Region().
void G4Region::UpdateMaterialList | ( | ) |
Definition at line 377 of file G4Region.cc.
References ClearMaterialList(), fRootVolumes, and ScanVolumeTree().
Referenced by export_G4Region(), and RemoveRootLogicalVolume().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions().
|
private |
Definition at line 258 of file G4Region.hh.
|
private |
Definition at line 262 of file G4Region.hh.
|
private |
Definition at line 266 of file G4Region.hh.
Referenced by ScanVolumeTree().
|
private |
Definition at line 267 of file G4Region.hh.
|
private |
Definition at line 255 of file G4Region.hh.
|
private |
Definition at line 254 of file G4Region.hh.
Referenced by ClearMaterialList().
|
private |
Definition at line 251 of file G4Region.hh.
Referenced by ClearFastSimulationManager(), and SetName().
|
private |
Definition at line 257 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), and RemoveRootLogicalVolume().
|
private |
Definition at line 253 of file G4Region.hh.
Referenced by AddRootLogicalVolume(), RemoveRootLogicalVolume(), and UpdateMaterialList().
|
private |
Definition at line 260 of file G4Region.hh.
Referenced by ~G4Region().
|
private |
Definition at line 261 of file G4Region.hh.
|
private |
Definition at line 264 of file G4Region.hh.
Referenced by SetWorld().
|
private |
Definition at line 269 of file G4Region.hh.
Referenced by G4Region().
|
staticprivate |
Definition at line 271 of file G4Region.hh.
Referenced by Clean(), G4Region(), and GetSubInstanceManager().