92 std::pair<G4VSensitiveDetector*,G4FieldManager*> > LV2SDFM;
96 std::pair<G4FastSimulationManager*,G4UserSteppingAction*> > R2FSM;
100 for(
size_t ip=0; ip<mLogVolStore->size(); ip++)
102 G4LogicalVolume *lv = (*mLogVolStore)[ip];
139 lvmap[lv] = std::make_pair(sd,fmgr);
143 for(
size_t ir=0; ir<mRegStore->size(); ir++)
145 G4Region*
reg = (*mRegStore)[ir];
150 rgnmap[
reg] = std::make_pair(fsm,usa);
173 for ( LV2SDFM::const_iterator
it = lvmap.begin() ;
174 it != lvmap.end() ; ++
it )
176 G4LogicalVolume* lv =
it->first;
188 for ( R2FSM::const_iterator it3 = rgnmap.begin() ;
189 it3 != rgnmap.end() ; it3++ )
191 G4Region*
reg = it3->first;
201 if ( affinity == 0 )
return;
211 "Cannot set thread affinity, affinity parameter larger than number of cores");
225 cpuindex = myidx + (myidx>=
offset);
229 #if defined(G4MULTITHREADED)
238 G4Exception(
"G4MTRunManagerKernel::StarThread()",
"Run0101",