1 #ifndef DataFormats_Common_ConvertHandle_h
2 #define DataFormats_Common_ConvertHandle_h
4 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
13 namespace handleimpl {
22 if(bh.failedToGet()) {
24 result = std::move(h);
27 void const* basicWrapper = bh.wrapper();
28 if(basicWrapper == 0) {
31 if(!(bh.interface()->dynamicTypeInfo() ==
typeid(
T))) {
43 template<
typename T>
class Handle;
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
void convert_handle(BasicHandle &&bh, Handle< T > &result)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void throwInvalidReference()
T const * product() const
static HepMC::HEPEVT_Wrapper wrapper