59 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
64 if(itr->second==parallelWorldName)
71 ED <<
"G4ParallelWorldProcess (" << proc <<
") has the world volume ("
72 << itr->second <<
"). It is inconsistent with (" << parallelWorldName <<
").";
73 G4Exception(
"G4ParallelWorldProcessStore::SetParallelWorld",
"ProcScore0101",
78 (*fInstance)[proc] = parallelWorldName;
83 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
90 std::map<G4ParallelWorldProcess*,G4String>::iterator itr;
92 {
if(itr->second==parallelWorldName)
return itr->first; }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4ParallelWorldProcessStore()
static G4ParallelWorldProcessStore * GetInstance()
virtual ~G4ParallelWorldProcessStore()
G4ParallelWorldProcess * GetProcess(G4String parallelWorldName)
void SetParallelWorld(G4ParallelWorldProcess *proc, G4String parallelWorldName)
static G4ParallelWorldProcessStore * GetInstanceIfExist()
static G4ThreadLocal G4ParallelWorldProcessStore * fInstance