LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PtrRemapper.cc
Go to the documentation of this file.
2 
4 art::PtrRemapper::newRefCore_(ProductID const incomingProductID) const
5 {
6  auto iter = prodTransMap_.find(incomingProductID);
7  if (iter == cend(prodTransMap_)) {
9  << "PtrRemapper: could not find old ProductID " << incomingProductID
10  << " in translation table: already translated?\n";
11  }
12  return {iter->second, nullptr, event_->productGetter(iter->second)};
13 }
decltype(auto) constexpr cend(T &&obj)
ADL-aware version of std::cend.
Definition: StdUtils.h:93
RefCore newRefCore_(ProductID const incomingProductID) const
Definition: PtrRemapper.cc:4
cet::exempt_ptr< Event const > event_
Definition: PtrRemapper.h:417
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
ProdTransMap_t prodTransMap_
Definition: PtrRemapper.h:416