ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/management/include/G4Region.hh>
Static Public Member Functions | |
static const G4RegionManager & | GetSubInstanceManager () |
static void | Clean () |
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 | |
void | AddMaterial (G4Material *aMaterial) |
Private Attributes | |
G4String | fName |
G4RootLVList | fRootVolumes |
G4MaterialList | fMaterials |
G4MaterialCoupleMap | fMaterialCoupleMap |
G4bool | fRegionMod = true |
G4ProductionCuts * | fCut = nullptr |
G4VUserRegionInformation * | fUserInfo = nullptr |
G4UserLimits * | fUserLimits = nullptr |
G4FieldManager * | fFieldManager = nullptr |
G4VPhysicalVolume * | fWorldPhys = nullptr |
G4bool | fInMassGeometry = false |
G4bool | fInParallelGeometry = false |
G4int | instanceID |
Static Private Attributes | |
static G4GEOM_DLL G4RegionManager | subInstanceManager |
Definition at line 95 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 95 of file G4Region.hh
|
private |
Definition at line 100 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 100 of file G4Region.hh
|
private |
Definition at line 99 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 99 of file G4Region.hh
|
private |
Definition at line 98 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 98 of file G4Region.hh
|
private |
Definition at line 97 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 97 of file G4Region.hh
G4Region::G4Region | ( | const G4String & | name | ) |
Definition at line 65 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 65 of file G4Region.cc
References G4GeomSplitter< T >::CreateSubInstance(), G4endl, G4Exception(), G4MT_fsmanager, G4MT_rsaction, G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), instanceID, JustWarning, message(), G4RegionStore::Register(), and subInstanceManager.
|
virtual |
Definition at line 111 of file G4Region.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 94 of file G4Region.cc
References G4GeomSplitter< T >::CreateSubInstance(), G4MT_fsmanager, G4MT_rsaction, G4RegionStore::GetInstance(), instanceID, G4RegionStore::Register(), and subInstanceManager.
|
inlineprivate |
void G4Region::AddRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | search = true |
||
) |
Definition at line 283 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 283 of file G4Region.cc
References fRegionMod, fRootVolumes, pos(), ScanVolumeTree(), and G4LogicalVolume::SetRegionRootFlag().
Referenced by ExTGRCRegionCutsMgr::BuildRegions(), G4RunManagerKernel::CheckRegions(), Par01ParallelWorldForPion::Construct(), Par01DetectorConstruction::Construct(), RE01DetectorConstruction::Construct(), DetectorBarr90::Construct(), DetectorWatase86::Construct(), ExGflash2ParallelWorld::Construct(), DetectorHarris73::Construct(), DetectorSimpleALICE::Construct(), ExGflash1DetectorConstruction::Construct(), ExGflash3DetectorConstruction::Construct(), DetectorALICE06::Construct(), DetectorBari05::Construct(), ExGflashDetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), CML2Ph_FullWater::Construct(), HadrontherapyDetectorConstruction::ConstructDetector(), DetectorConstruction::ConstructDetector(), PHG4FCalDetector::ConstructMe(), PHG4RICHDetector::ConstructMe(), PHG4TpcDetector::ConstructTpcGasVolume(), G4RunManagerKernel::DefineWorldVolume(), export_G4Region(), CML2Acc1::flatteningFilter(), CML2Acc2::flatteningFilter(), CML2AccSaturn::flatteningFilter(), G4GDMLParser::ImportRegions(), CML2Acc1::ionizationChamber(), CML2Acc2::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc2::Jaw1X(), CML2AccSaturn::Jaw1X(), CML2Acc2::Jaw1Y(), CML2AccSaturn::Jaw1Y(), CML2Acc2::Jaw2X(), CML2Acc2::Jaw2Y(), CML2Acc2::MLC(), CML2Acc1::primaryCollimator(), CML2Acc2::primaryCollimator(), G4ReflectionFactory::ReflectLV(), RE06DetectorConstruction::SetupGeometry(), CexmcSetup::SetupSpecialVolumes(), CML2Acc2::target(), and CML2Acc2::vacuumWindow().
G4bool G4Region::BelongsTo | ( | G4VPhysicalVolume * | thePhys | ) | const |
Definition at line 404 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 404 of file G4Region.cc
References G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), and G4LogicalVolume::GetRegion().
Referenced by G4RunManagerKernel::CheckRegions(), export_G4Region(), and SetWorld().
|
static |
Definition at line 346 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 346 of file G4Region.cc
References G4GeomSplitter< T >::FreeSlave(), and subInstanceManager.
Referenced by G4RegionStore::~G4RegionStore().
void G4Region::ClearFastSimulationManager | ( | ) |
Definition at line 424 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 424 of file G4Region.cc
References fName, G4endl, G4Exception(), G4MT_fsmanager, GetFastSimulationManager(), GetParentRegion(), JustWarning, and message().
Referenced by export_G4Region(), and G4FastSimulationManager::~G4FastSimulationManager().
|
inline |
void G4Region::ClearMaterialList | ( | ) |
Definition at line 356 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 356 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 130 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 130 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 G4VFieldModel::DescribeYourselfTo(), and G4PropagatorInField::FindAndSetFieldManager().
|
inline |
|
inline |
Referenced by ExGflash3DetectorConstruction::ConstructSDandField(), 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(), G4MuNeutrinoNucleusProcess::GetMeanFreePath(), G4NeutrinoElectronProcess::GetMeanFreePath(), G4PAIPhotModel::Initialise(), G4EmBiasingManager::Initialise(), G4PAIModel::Initialise(), G4EmModelManager::Initialise(), G4FastSimulationManager::ListTitle(), G4NeutrinoElectronProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), 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 459 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 459 of file G4Region.cc
References G4LogicalVolumeStore::GetInstance().
Referenced by ClearFastSimulationManager(), and export_G4Region().
|
inline |
Referenced by G4RunManagerKernel::CheckRegions(), Par01DetectorConstruction::Construct(), PHG4RICHDetector::ConstructMe(), G4RunManagerKernel::DumpRegion(), RE06RunAction::EndOfRunAction(), export_G4Region(), PHG4GDMLWriteStructure::ExportEnergyCuts(), G4GDMLWriteStructure::ExportEnergyCuts(), G4EmCalculator::FindCouple(), G4VUserPhysicsList::GetCutValue(), G4VAtomDeexcitation::InitialiseAtomicDeexcitation(), G4ProductionCutsTable::IsCoupleUsedInTheRegion(), G4VUserPhysicsList::SetParticleCuts(), and G4ParallelWorldProcess::SwitchMaterial().
G4UserSteppingAction * G4Region::GetRegionalSteppingAction | ( | ) | const |
Definition at line 148 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 148 of file G4Region.cc
References G4MT_rsaction.
Referenced by G4RunManagerKernel::DumpRegion(), PHG4FCalDetector::GetSteppingAction(), PHG4FPbScDetector::GetSteppingAction(), PHG4RICHDetector::GetSteppingAction(), PHG4HcalDetector::GetSteppingAction(), G4SteppingManager::Stepping(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by G4RunManagerKernel::DumpRegion(), and G4RunManagerKernel::SetupDefaultRegion().
|
static |
Definition at line 55 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 55 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 |
Referenced by G4LogicalVolume::AddDaughter(), G4LogicalVolume::ClearDaughters(), export_G4Region(), and G4LogicalVolume::RemoveDaughter().
|
inline |
void G4Region::RemoveRootLogicalVolume | ( | G4LogicalVolume * | lv, |
G4bool | scan = true |
||
) |
Definition at line 318 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 318 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 162 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 162 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(), mat, message(), and G4LogicalVolume::SetRegion().
Referenced by AddRootLogicalVolume(), export_G4Region(), and UpdateMaterialList().
void G4Region::SetFastSimulationManager | ( | G4FastSimulationManager * | fsm | ) |
Definition at line 121 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 121 of file G4Region.cc
References G4MT_fsmanager.
Referenced by export_G4Region(), G4FastSimulationManager::G4FastSimulationManager(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
|
inline |
Referenced by ExTGRCRegionCutsMgr::BuildProductionCuts(), G4RunManagerKernel::CheckRegions(), Par01DetectorConstruction::Construct(), CML2Ph_BoxInBox::Construct(), CML2Ph_FullWater::Construct(), DetectorConstruction::ConstructDetector(), PHG4RICHDetector::ConstructMe(), G4RunManagerKernel::DumpRegion(), export_G4Region(), CML2Acc1::flatteningFilter(), CML2Acc2::flatteningFilter(), CML2AccSaturn::flatteningFilter(), G4RunManagerKernel::G4RunManagerKernel(), G4GDMLParser::ImportRegions(), CML2Acc1::ionizationChamber(), CML2Acc1::Jaw1X(), CML2Acc2::Jaw1X(), CML2Acc2::Jaw1Y(), CML2AccSaturn::Jaw1Y(), CML2Acc2::Jaw2X(), CML2AccSaturn::Jaw2X(), CML2Acc2::Jaw2Y(), CML2Acc2::MLC(), CML2Acc1::primaryCollimator(), CML2Acc2::primaryCollimator(), CML2AccSaturn::primaryCollimator(), G4VUserPhysicsList::SetParticleCuts(), CexmcSetup::SetupSpecialVolumes(), CML2Acc1::target(), CML2Acc2::target(), CML2Acc1::vacuumWindow(), CML2Acc2::vacuumWindow(), and CML2AccSaturn::vacuumWindow().
void G4Region::SetRegionalSteppingAction | ( | G4UserSteppingAction * | rusa | ) |
Definition at line 139 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 139 of file G4Region.cc
References G4MT_rsaction.
Referenced by PHG4FCalDetector::ConstructMe(), PHG4RICHDetector::ConstructMe(), and G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster().
|
inline |
Referenced by PHG4PhenixDetector::Construct(), RE01DetectorConstruction::Construct(), and export_G4Region().
|
inline |
Referenced by export_G4Region(), and G4GDMLParser::ImportRegions().
void G4Region::SetWorld | ( | G4VPhysicalVolume * | wp | ) |
Definition at line 388 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 388 of file G4Region.cc
References BelongsTo(), fWorldPhys, and wp.
Referenced by G4RunManagerKernel::CheckRegions(), and export_G4Region().
void G4Region::UpdateMaterialList | ( | ) |
Definition at line 367 of file G4Region.cc.
View newest version in sPHENIX GitHub at line 367 of file G4Region.cc
References ClearMaterialList(), fRootVolumes, and ScanVolumeTree().
Referenced by export_G4Region(), and RemoveRootLogicalVolume().
|
private |
Definition at line 258 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 258 of file G4Region.hh
|
private |
Definition at line 262 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 262 of file G4Region.hh
Definition at line 266 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 266 of file G4Region.hh
Referenced by ScanVolumeTree().
Definition at line 267 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 267 of file G4Region.hh
|
private |
Definition at line 255 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 255 of file G4Region.hh
|
private |
Definition at line 254 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 254 of file G4Region.hh
Referenced by ClearMaterialList().
|
private |
Definition at line 251 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 251 of file G4Region.hh
Referenced by ClearFastSimulationManager().
Definition at line 257 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 257 of file G4Region.hh
Referenced by AddRootLogicalVolume(), and RemoveRootLogicalVolume().
|
private |
Definition at line 253 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 253 of file G4Region.hh
Referenced by AddRootLogicalVolume(), RemoveRootLogicalVolume(), and UpdateMaterialList().
|
private |
Definition at line 260 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 260 of file G4Region.hh
Referenced by ~G4Region().
|
private |
Definition at line 261 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 261 of file G4Region.hh
|
private |
Definition at line 264 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 264 of file G4Region.hh
Referenced by SetWorld().
|
private |
Definition at line 269 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 269 of file G4Region.hh
Referenced by G4Region().
|
staticprivate |
Definition at line 271 of file G4Region.hh.
View newest version in sPHENIX GitHub at line 271 of file G4Region.hh
Referenced by Clean(), G4Region(), and GetSubInstanceManager().