49 G4ParallelWorldProcessStore::G4ParallelWorldProcessStore()
61 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
62 for(itr=fInstance->begin();itr!=fInstance->end();itr++)
66 if(itr->second==parallelWorldName)
73 ED <<
"G4ParallelWorldProcess (" << proc <<
") has the world volume ("
74 << itr->second <<
"). It is inconsistent with (" << parallelWorldName <<
").";
75 G4Exception(
"G4ParallelWorldProcessStore::SetParallelWorld",
"ProcScore0101",
80 (*fInstance)[proc] = parallelWorldName;
85 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
86 for(itr=fInstance->begin();itr!=fInstance->end();itr++)
92 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
93 for(itr=fInstance->begin();itr!=fInstance->end();itr++)
94 {
if(itr->second==parallelWorldName)
return itr->first; }
99 { fInstance->clear(); }
std::ostringstream G4ExceptionDescription
virtual ~G4ParallelWorldProcessStore()
static G4ParallelWorldProcessStore * GetInstance()
static G4ParallelWorldProcessStore * GetInstanceIfExist()
G4ParallelWorldProcess * GetProcess(G4String parallelWorldName)
void SetParallelWorld(G4ParallelWorldProcess *proc, G4String parallelWorldName)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)