1 #ifndef DataFormats_Common_RefCoreGet_h 2 #define DataFormats_Common_RefCoreGet_h 27 if (wrapper ==
nullptr) {
43 if (p !=
nullptr)
return p;
65 if (wrapper ==
nullptr) {
82 return refcore::getProductWithCoreFromRef_<T>(ref, prodGetter);
91 if(product ==
nullptr) {
105 template <
typename T>
112 return refcore::tryToGetProductWithCoreFromRef_<T>(ref, prodGetter);
116 template <
typename T>
126 template <
typename T>
137 return refcore::getThinnedProduct_<T>(ref, thinnedKey, prodGetter);
T const * getProduct_(RefCore const &ref, const EDProductGetter *prodGetter)
void setProductPtr(void const *prodPtr) const
WrapperBase const * getProductPtr(std::type_info const &type, EDProductGetter const *prodGetter) const
T const * getProduct(RefCore const &ref)
EDProductGetter const * productGetter(std::atomic< void const * > const &iCache)
T const * tryToGetProductWithCoreFromRef(RefCore const &ref, EDProductGetter const *prodGetter)
T const * tryToGetProductWithCoreFromRef_(RefCore const &ref, EDProductGetter const *prodGetter)
WrapperBase const * tryToGetProductPtr(std::type_info const &type, EDProductGetter const *prodGetter) const
T const * getThinnedProduct(RefCore const &ref, unsigned int &thinnedKey, EDProductGetter const *prodGetter)
WrapperBase const * getThinnedProductPtr(std::type_info const &type, unsigned int &thinnedKey, EDProductGetter const *prodGetter) const
void const * productPtr() const
T const * product() const
T const * getProductWithCoreFromRef(RefCore const &ref, EDProductGetter const *prodGetter)
EDProductGetter const * productGetter() const
T const * getProductWithCoreFromRef_(RefCore const &ref, EDProductGetter const *prodGetter)
T const * getThinnedProduct_(RefCore const &ref, unsigned int &thinnedKey, EDProductGetter const *prodGetter)
void wrongTypeException(std::type_info const &expectedType, std::type_info const &actualType) const
void nullPointerForTransientException(std::type_info const &type) const
static HepMC::HEPEVT_Wrapper wrapper