61 std::map<G4ParallelWorldProcess*,G4String>::iterator 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;
92 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
94 {
if(itr->second==parallelWorldName)
return itr->first; }
std::ostringstream G4ExceptionDescription
static G4ParallelWorldProcessStore * GetInstance()
static G4ThreadLocal G4ParallelWorldProcessStore * fInstance
static G4ParallelWorldProcessStore * GetInstanceIfExist()
G4ParallelWorldProcessStore()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual ~G4ParallelWorldProcessStore()
void SetParallelWorld(G4ParallelWorldProcess *proc, G4String parallelWorldName)
G4ParallelWorldProcess * GetProcess(G4String parallelWorldName)