42 std::vector<G4VUserParallelWorld*>::iterator pwItr;
43 for(pwItr=parallelWorld.begin();pwItr!=parallelWorld.end();pwItr++)
45 if((*pwItr)->GetName()==aPW->
GetName())
49 eM +=
"> is already registered to the user detector construction.";
50 G4Exception(
"G4VUserDetectorConstruction::RegisterParallelWorld",
54 parallelWorld.push_back(aPW);
60 std::vector<G4VUserParallelWorld*>::iterator pwItr;
61 for(pwItr=parallelWorld.begin();pwItr!=parallelWorld.end();pwItr++)
63 (*pwItr)->Construct();
70 {
return parallelWorld.size(); }
75 return parallelWorld[i];