20 HistoryMap::iterator iter =
historyMap_.find(inputPHID);
27 if (inputPHID.isValid()) {
28 inputProcessHistory =
registry->getMapped(inputPHID);
29 if (inputProcessHistory == 0) {
31 <<
"HistoryAppender::appendToProcessHistory\n"
32 <<
"Input ProcessHistory not found in registry\n"
33 <<
"Contact a Framework developer\n";
37 ProcessHistory newProcessHistory;
38 newProcessHistory = *inputProcessHistory;
40 newProcessHistory.push_back(pc);
41 registry->insertMapped(newProcessHistory);
43 CachedHistory newValue(inputProcessHistory,
44 registry->getMapped(newProcessHistoryID),
46 std::pair<ProcessHistoryID, CachedHistory> newEntry(inputPHID, newValue);
49 return result.first->second;
static ThreadSafeRegistry * instance()
edm::detail::ThreadSafeRegistry< edm::ProcessHistoryID, edm::ProcessHistory, edm::FullHistoryToReducedHistoryMap > ProcessHistoryRegistry
Hash< ProcessHistoryType > ProcessHistoryID
HistoryMap::const_iterator previous_
void checkProcessHistory(ProcessHistory const &ph, ProcessConfiguration const &pc) const
ProcessHistory emptyHistory_