160 fGeometryWrk->ReleaseAndDestroyWorkspace();
239 typedef std::map<G4LogicalVolume*,std::pair<G4VSensitiveDetector*,G4FieldManager*> > LV2SDFM;
241 typedef std::map<G4LogicalVolume*,std::pair<G4Region*,G4bool> > LV2Region;
243 typedef std::map<G4Region*,std::pair<G4FastSimulationManager*,G4UserSteppingAction*> > R2FSM;
246 for(
size_t ip=0; ip<mLogVolStore->size(); ip++)
267 if ( sd || fmgr ) lvmap[lv] = std::make_pair(sd,fmgr);
270 if ( rgn || isRoot ) lv2rmap[lv] = std::make_pair(rgn,isRoot);
273 for(
size_t ir=0; ir<mRegStore->size(); ir++)
278 if ( reg || usa ) rgnmap[
reg] = std::make_pair(fsm,usa);
307 for ( LV2SDFM::const_iterator it = lvmap.begin() ; it != lvmap.end() ; ++it )
315 for ( LV2Region::const_iterator it2 = lv2rmap.begin() ; it2 != lv2rmap.end() ; it2++ )
318 G4Region* rgn = (it2->second).first;
323 for ( R2FSM::const_iterator it3 = rgnmap.begin() ; it3 != rgnmap.end() ; it3++ )
G4SolidsWorkspace * GetWorkspace()
G4GeometryWorkspace * GetWorkspace()
void SetRegionRootFlag(G4bool rreg)
static void UpdateGeometryAndPhysicsVectorFromMaster()
static const G4VMPLManager & GetSubInstanceManager()
static void BuildGeometryAndPhysicsVector()
static G4SolidsWorkspacePool * GetInstance()
G4FieldManager * GetMasterFieldManager() const
G4Region * GetRegion() const
static const G4PDefManager & GetSubInstanceManager()
void SetThreadId(G4int threadId)
void SetFieldManager(G4FieldManager *pFieldMgr, G4bool forceToAllDaughters)
static const G4double reg
static G4RegionStore * GetInstance()
void SetFastSimulationManager(G4FastSimulationManager *fsm)
void SetRegion(G4Region *reg)
G4FieldManager * GetFieldManager() const
G4VSensitiveDetector * GetMasterSensitiveDetector() const
G4int GetNumberThreads() const
G4bool IsRootRegion() const
static G4LogicalVolumeStore * GetInstance()
G4int GetThreadId() const
static const double second
void CreateAndUseWorkspace()
void InitialiseWorkspace()
G4FastSimulationManager * GetFastSimulationManager() const
static void DestroyGeometryAndPhysicsVector()
static const G4VPCManager & GetSubInstanceManager()
static G4GeometryWorkspacePool * GetInstance()
static const G4VUPLManager & GetSubInstanceManager()
void InitialiseWorkspace()
void CreateAndUseWorkspace()
void SetRegionalSteppingAction(G4UserSteppingAction *rusa)
G4VSensitiveDetector * GetSensitiveDetector() const
void SetNumberThreads(G4int numnberThreads)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
G4UserSteppingAction * GetRegionalSteppingAction() const