11 auto it =
dummies_.find(wrappedName);
13 TClass* cp = TClass::GetClass(wrappedName.c_str());
16 <<
"TClass::GetClass() returned null pointer for name: " 17 << wrappedName <<
'\n';
19 std::unique_ptr<EDProduct> dummy{
21 it =
dummies_.emplace(wrappedName, move(dummy)).first;
23 return it->second.get();
std::map< std::string, std::unique_ptr< EDProduct > > dummies_
EDProduct const * product(std::string const &wrappedName)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception