109 typedef std::map<G4LogicalVolume*,std::pair<G4VSensitiveDetector*,G4FieldManager*> > LV2SDFM;
113 typedef std::map<G4Region*,std::pair<G4FastSimulationManager*,G4UserSteppingAction*> > R2FSM;
116 for(
size_t ip=0; ip<mLogVolStore->size(); ip++)
137 if ( sd || fmgr ) lvmap[lv] = std::make_pair(sd,fmgr);
143 for(
size_t ir=0; ir<mRegStore->size(); ir++)
148 if ( reg || usa ) rgnmap[
reg] = std::make_pair(fsm,usa);
177 for ( LV2SDFM::const_iterator it = lvmap.begin() ; it != lvmap.end() ; ++it )
196 for ( R2FSM::const_iterator it3 = rgnmap.begin() ; it3 != rgnmap.end() ; it3++ )
G4SolidsWorkspace * GetWorkspace()
G4GeometryWorkspace * GetWorkspace()
G4UserSteppingAction * GetRegionalSteppingAction() const
static G4SolidsWorkspacePool * GetInstance()
G4FieldManager * GetMasterFieldManager() const
static constexpr double second
void SetFieldManager(G4FieldManager *pFieldMgr, G4bool forceToAllDaughters)
static const G4double reg
static G4RegionStore * GetInstance()
void SetFastSimulationManager(G4FastSimulationManager *fsm)
G4VSensitiveDetector * GetMasterSensitiveDetector() const
static G4LogicalVolumeStore * GetInstance()
void InitialiseWorkspace()
static G4GeometryWorkspacePool * GetInstance()
void InitialiseWorkspace()
G4FieldManager * GetFieldManager() const
void SetRegionalSteppingAction(G4UserSteppingAction *rusa)
G4VSensitiveDetector * GetSensitiveDetector() const
G4FastSimulationManager * GetFastSimulationManager() const
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)